debugger freezes at new card?

Jeanne A. E. DeVoto revolution at jaedworks.com
Sun Feb 8 02:41:41 EST 2004


At 10:29 PM -0700 2/7/04, Alex Rice wrote:
>The TD docs say that the card name is optional. Also try this:
>
>new card
>put the name of it
>see: card id 1051
>
>The docs incorrectly say that the name of the card is empty, but 
>it's actually set with the abbrev id of the card.


Actually, the docs are correct here, although there is a nuance. The 
catch is that the name property never reports empty - if you call for 
the name of an object whose name is empty, it reports the ID instead.

Try it: set the name of an object to empty and then immediately query 
its name, and you'll get its ID instead. If you do it with a button, 
you can actually see that the button has no name.
-- 
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list