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

André Bisseret andre.bisseret at wanadoo.fr
Wed Aug 21 04:22:02 EDT 2013


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