Characters in names

Alex Tweedly alex at tweedly.net
Sun Mar 20 19:59:22 EST 2005


Graham Samuel wrote:

> I can't find a list in the RR docs of legal characters for variable  
> names. Obviously letters of the alphabet (at least the ascii version)  
> and the numerals are OK, plus hyphen and underscore - but what else?  
> Clearly no character used as an operator, like \ or +, can be legal,  
> but maybe some others are: for example is period (full stop to me)  
> permitted? If I've missed a complete list, can someone please point 
> me  at it?

Don't think there is one - that would be too close to a reference 
definition of part of the language.

You can't have hyphen, that would be a minus operator.

You can have full stops - but there was a recommendation to avoid them 
if possible, in case of future expansion into "object" notation.

So basically letters, digits and underscore (and period, but avoid if 
possible)

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 18/03/2005



More information about the use-livecode mailing list