btw,

I might found out why it is not possible to jump into a subroutine from inside a function:

Quote:


The Return statement causes an immediate exit from a Function procedure. Program execution continues with the statement that follows the statement that called the Function procedure. Any number of Return statements can appear anywhere in a Function procedure.





On preparsing the following happens:

-> function
-> entering sub
-> return (exits not only the sub but also the function)
-> same function again (two times function without endfunction in between causes Kix to choke on "missing endfunction"
_________________________