Scripting > mrScriptBasic overview > mrScriptBasic language reference > General information > Naming conventions
 
Naming conventions
Variable and element names defined in mrScriptBasic must follow the rules for regular identifiers:
1 The identifier must contain between 1 and 128 characters.
2 The first character must be one of the following:
A letter as defined by the Unicode Standard 3.0. The Unicode definition of letters includes Latin characters a-z and A-Z, in addition to letter characters from other languages.
The _ (underscore) symbol.
3 Subsequent characters can be:
Letters as defined in the Unicode Standard 3.0.
Decimal numbers from either Basic Latin or other national scripts.
The @, $, #, or _ symbols.
4 The identifier can be any of the mrScriptBasic reserved words. These include all mrScriptBasic statement names, constant names, keywords, and so on. mrScriptBasic is case insensitive and so these words are reserved regardless of whether they are used in uppercase, lowercase, or a mixture of case.
5 Embedded spaces or special characters are not allowed.
The Unicode Standard 3.0 definition of a letter is “This informative property applies to characters that are used to write words. This group includes characters such as capital letters, small letters, ideographs, hangul, and spacing modifier letters.” Refer to the Unicode Standard 3.0 CD-ROM for the letter property mappings.
See also
General information