Uniquly identifying a stack

Richard Gaskin ambassador at fourthworld.com
Sun Jul 1 20:16:58 EDT 2012


Peter Haworth wrote:
> I know this has been discussed before but has anyone come up with a
> foolproof way to identify a stack?

Stack IDs are an anomaly in the otherwise-consist use of IDs throughout 
LiveCode.  Unlike other objects, the stack ID is merely a placeholder 
for the next available ID for newly created objects, and as such it'll 
change over time as you noted.

In LiveCode stack names are required to be unique within a session, so 
those can be used for distinguishing them from other open stacks.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list