View Full Version : Permitted chars in variable name?
I found that I can't name a variable
1variablename, that is, can't use a number as first letter.
Is there any reference for permitted combinations in variable names?
Guerric
03-25-2009, 07:10 PM
Not to my knowledge. You can try searching through:
http://wiki.developer.mindtouch.com/DekiScript
Otherwise steve would know best. If I had to guess, the conventions are probably similar to that of any programming/scripting language. No funky chars (@#R&$(*), no operators, and variables must start with a non-numerical char.
SteveB
04-03-2009, 03:47 PM
Variables must begin with a letter or underscore and can then be followed by letters, underscores, and digits.
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.