Just syntax.

send "importPds vMap,fSource" to card "Notes" of stack "CallingStack" in 0 
seconds


messages and their parameters take the form: message param1,param2,param3,etc.


LC has to be able to evaluate the argument(s) of the "send" command to follow 
this form.


Craig Newman


-----Original Message-----
From: Bill Vlahos <bvla...@mac.com>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Sent: Sat, Jan 21, 2012 7:55 pm
Subject: How do I send variables from substack to mainstack?


I have a handler (importPds) on a card in the main stack that I want to send 
data to from a substack.

I set the calling stack name to a global CallingStack.

vMap and fSource are variables to pass back to the importPds handler on the 
card.

The following line from an open substack gives an error.
send importPds vMap fSource to card "Notes" of stack CallingStack in 0 seconds

How can I send variables vMap and fSource to the handler importPds on the card 
of the calling stack?

Thanks,
Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to