Question about Object Names

Nonsanity form at nonsanity.com
Fri May 27 10:25:39 EDT 2011


Try:    get the short name of this card

 ~ Chris Innanen
 ~ Nonsanity


On Fri, May 27, 2011 at 10:17 AM, Todd Geist <todd at geistinteractive.com>wrote:

> Hello,
>
> I am confused by an inconsistency I am seeing. I think it points to
> something I missing about object names and references.
>
> Using the Object Inspector you can set the name of a card, for example,  to
> "MyCardName"
>
> But when you retrieve the name of the object in line of code you get back
> the object type followed by the name in Quotes, like this
>
> *put *the name of the this card into tCard
>
>
> -> card "MyCardName"
>
>
> Why?
>
>
> Thanks
>
> Todd
>
>
>
>
> Todd Geist
> ------------------------------
> geist interactive <http://www.geistinteractive.com>
> 805-419-9382
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list