Question about Object Names

stephen barncard stephenREVOLUTION2 at barncard.com
Fri May 27 10:41:51 EDT 2011


use the short name of the object.

name              button "Button"
short name             "Button"
long name    button "Button" of card id 1002 of stack "Untitled 1"

On 27 May 2011 07:17, 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list