Naming Custom Properties

J. Landman Gay jacque at hyperactivesw.com
Sat Apr 17 00:35:40 EDT 2010


Vokey, John wrote:
> However, to be consistent,
> the name of the custom property should be a quoted literal when not
> the contents of a variable name

Sorry, I disagree with you too. :P

Properties, custom or otherwise, aren't quoted. Only literal text 
strings are quoted. We don't do this:

  put the "rect" of btn 1
  put the "backgroundColor" of this stack

So we shouldn't do it with custom props either.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list