directing a function call
Dar Scott
dsc at swcp.com
Tue Apr 6 17:29:01 EDT 2004
On Tuesday, April 6, 2004, at 03:19 PM, Leston Drake wrote:
> I tried
> send "myEvent" to this stack
> put the result into myResult
>
> in the myEvent handler, I had something like
> return "myValue"
>
> but the result is empty. So I probably misunderstood.
That looks right.
I tried this
Button "tester" script:
on mouseUp
send "myEvent" to button "tested"
put the result
end mouseUp
Button "tested" script:
on myEvent
return "myValue"
end myEvent
That works.
Are arrays involved?
Dar Scott
More information about the use-livecode
mailing list