function calls

Stephen Messimer steve at messimercomputing.com
Tue Apr 15 14:46:01 EDT 2003


Hi,

I need to send a call to a function in another stack and I can't quite 
get the syntax.

When a button is clicked in stack "A" the msg "theFlag" is sent to 
another stack
...
send theFlag to stack "B"
...
The following handlers live in the script of target stack "B".

on theFlag
	send function checkStuff  firstThing, nextThing
end theFlag

function checkStuff  firstThing, nextThing
   -- check the stuff
end checkStuff

What am I doing wrong?

Thanks

Steve




More information about the use-livecode mailing list