uhm...

you can also call script-file (which is the actual meaning of the call)

I think UDF is good if it's made an UDF but making all your sub-scripts UDFs is blashemy.

I've seen even here on our UDF-library UDFs that have nothing to do with UDF but the "function" and "endfunction" keywords. [Mad]

if you don't want to use gosub or you want to have different pieces in different files, you can always use call to execute scriptlets.

the real benefit of UDF is that it's simple to use and it does not need modification after it's done.

and once optimized, it is speedy.
_________________________
!

download KiXnet