go to "such name" = go to stack "such name"!?
Mark Schonewille
m.schonewille at economy-x-talk.com
Wed Aug 21 04:37:12 EDT 2013
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é
>
More information about the use-livecode
mailing list