Identifiers

From Catglobe Wiki
Revision as of 07:54, 18 March 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



Identifiers

In CGS, an identifier is a name assigned to a variable; it can be from one to several characters long. An identifier may start with a letter of the alphabet or an underscore but not a digit. Next may be a letter, a digit or an underscore. CGScript is a case sensitive so variable and Variable are different. Here are some examples of acceptable identifiers:

myVar x x2 y_y

MyVar _x x2_