How do I send variables from substack to mainstack?

Bill Vlahos bvlahos at mac.com
Sun Jan 22 02:57:20 EST 2012


Craig,

Perfect.

Thank you.
Bill Vlahos

On Jan 21, 2012, at 10:16 PM, dunbarx at aol.com wrote:

> 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 <bvlahos at mac.com>
> To: How to use LiveCode <use-livecode at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list