Problem with send command???
Klaus Major
klaus at major-k.de
Sun Jun 22 10:33:47 EDT 2008
Hi Dave,
> Hi,
>
> The following gives an execution error on the send command. I'm
> guessing it because of the "@" usage. Is it not possible to call a
> handler in this manner?
>
> All the Best
> Dave
>
> on TestIt @theArray,theValue
> put 123 into theArray["Dave"]
> end TestIt
>
>
> on mouseUp
> local myArray
>
> send "TestIt myArray,1" to me
> end mouseUp
I think yo have to create a variable first before you can reference it.
Try this:
on mouseUp
local myArray
put empty into myArray
send "TestIt myArray,1" to me
end mouseUp
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list