send and long names

Jeanne A. E. DeVoto jeanne at runrev.com
Fri Nov 29 00:24:00 EST 2002


At 11:36 AM -0800 11/28/02, Dar Scott wrote:
>Is the long name of an object always sufficient to uniquely identify it
>for a send?

Not in all cases. (For example, you might have two buttons on the same card
that have the same name. Their long names will be the same.) You can use
the name safely only if you have control over the names of objects in the
stack. (Of course, this is often the case.)

>Is there a better way to uniquely identify an object that
>is suitable for send?

The long ID is guaranteed unique and is generally the best way if you have
any doubts about new objects that might be created.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list