Passing parameters by reference
Pete
pete at mollysrevenge.com
Fri Mar 9 18:30:29 EST 2012
I think I already know the answer to this so just confirming in case I'm
missing something
Let's say I have a handler with a parameter that is passed by reference, eg
"command xyz @parm1". If I try to pass an element of an array, eg "xyz
theArray[2]", I get a runtime error. If, however, I pass the whole array,
eg "xyz theArray", all seems to work fine.
That seems somewhat strange to me but apparently that's the way it is?
--
Pete
Molly's Revenge <http://www.mollysrevenge.com>
More information about the use-livecode
mailing list