[Tip] Propeties & sets & List of 'reserved words' and gotchas

Stephen Barncard stephenREVOLUTION at barncard.com
Mon Feb 20 23:13:12 EST 2006


At 19:27 -0600 2/20/06, J. Landman Gay wrote:
>I just did this:
>
>set the cList["name"] of this stack to "testName"
>put the cList["name"] of this stack
>
>And got the expected result. Did I do the test right?


J. did you check to see if the stack name changed?

This does it every time in the Inspector:

recipe 1:
select an object
create new property set for the object
name it "name" (or any other object regular property  without quotes 
of course) in the entry box.
hit enter

and you get a dialog:
"a custom property set cannot be a property name"

recipe 2:
select an object
create new property for the object
name it "name*" (without quotes of course) in the entry box.
hit enter

and you will see the new property in the property list
but it's a lie... because the data is..... THE NAME OF THE OBJECT!!!
and no dialog....does that mean it's a bug?

this is MacOS Tiger 10.4.4   REV ENTERPRISE 2.7   Powerbook G4 1.33 GHZ


-- 
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



More information about the use-livecode mailing list