passing parameters in a send call.

Andre Garzia soapdog at mac.com
Sun May 21 16:42:08 EDT 2006


Hi Folks,

I am using a script code that is built in runtime and executed with a  
"do" call. The code calls a send function. I know you can use send  
with parameters like:

send "myAdd 2, 2" to stack "someStack"

this works. but sending an array like

send "myAdd pArrayA" to stack "someStack"

causes the myAdd handler to be called with an empty parameter. Does  
anyone here have a clue about that? If this is indeed not possible.  
Do anyone here have a suggestion on how to pass an array to an  
arbitrary function of a stack that will only be known in runtime.

TIA
Andre



More information about the use-livecode mailing list