Manipulate Stacks with Duplicate Names?

Scott Rossi scott at tactilemedia.com
Fri Oct 14 02:04:19 EDT 2005


Recently, Ken Ray  wrote:

>> I seem to recall reading on the list long ago that it was somehow possible
>> for multiple opened stacks to have duplicate IDs, and (because of this)
>> referencing stacks by ID wasn't reliable.  Is this actually the case or have
>> I spent years mistakenly avoiding referencing stacks by ID?
> 
> Coul you use the windowID? Theoretically they'd have to be in separate
> windows and that would require them to have unique windowIDs...

Good point.  But I think IDs would work fine too, since, if this is right,
no two stacks can have the same ID during the current session.  For my
purposes I only care about referencing stacks during the current runtime
session, not across sessions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list