importing a bunch of files
Stephen Barncard
stephenREVOLUTION2 at barncard.com
Thu Jan 17 13:43:06 EST 2008
>
>Where can we see more about: "be legal for variables" ?
>
>Regards,
>Thierry
>
The 'rules' for this might not be documented.
I've had problems with custom properties that are named like this:
1 a number or begin with a number can be a problem
2 spaces in the name doesn't always work
3 use only alphanumeric characters except for underscore (and maybe dashes)
4 no command token names
5 no object property names
this is why Richard's 'Hungarian Notation' works for this:
'c' prefix for custom property
cSQBMailPreferences <--good custom prop name - this will always work
cSQB_mailPreferences <--with an underscore delimiter
of course any character, even binary is welcome inside any custom
property. We're talking about property NAMES and Array key names.
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list