CALLBYNAME() expanded to include functions.

Previous topic - Next topic

Hatonastick

Not knowing the internals of GLB I realise this might be too much work, in which case forget it.  Would just make writing parsers of any sort much easier.  Currently I have to kludge my way through it as I have data that I have to pass to the function ie. CALLBYNAME() to a sub routine requires a global variable to store the data in for each sub routine to access.

eg. I'd like to be able to do this:
CALLBYNAME("MyFunction", data$, ID#)

Instead of this:
global data$, ID#
CALLBYNAME("MySub")

Anyway, if it's too much work due to the way GLB is structured internally, don't worry about this one mate. :)

Kitty Hello

How would the compiler know what parameters you pass. It's impossible.