importing a bunch of files

Thierry 00bioarchimed at free.fr
Fri Jan 18 05:54:00 EST 2008


>> Where can we see more about:  "be legal for variables"  ?
>>
> 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
>
> cSQBMailPreferences    <--good custom prop name - this will always  
> work
> cSQB_mailPreferences  <--with an underscore delimiter


> We're talking about property NAMES and Array key names.

and variables names too.

Ok, then, by quoting keys.
which is what I do most of the time with my hash,
all these recommandations can be dropped, no ?

or still some dark forces looking for other kind of bad writing ?

Regards,
Thierry




More information about the use-livecode mailing list