go to "such name" = go to stack "such name"!?

André Bisseret andre.bisseret at wanadoo.fr
Wed Aug 21 06:48:43 EDT 2013


Thanks Mark for your confirmation

Best regards

André


Le 21 août 2013 à 10:37, Mark Schonewille a écrit :

> Hi André,
> 
> That's syntactical flexibility due to HyperCard. It as always been like that.
> 
> go gStackName
> 
> works too.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
> 
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
> 
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
> 
> On 8/21/2013 10:22, André Bisseret wrote:
>> Bonjour,
>> 
>> Just discovering the following:
>> In a script I put the short name of a stack into a global, say gStackName
>> then another stack is opened.
>> In a script in this second stack, I had put "go to gStackName instead of "go to stack gStackName
>> 
>> and that is working!! (provided that the stack gStackName be opened, of course)
>> 
>> I would have sworn that it was not possible!
>> 
>> I just verifed with the message box that it was possible to go to any opened stack using (go to "this short name") instead of (go to stack "this short name")
>> 
>> That seems not documented in the dictionnary.
>> 
>> Am I discovering the wheel? ;-)
>> 
>> Best regards
>> 
>> André
>> 
> 
> _______________________________________________
> 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