Identifiers

From Catglobe Wiki
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_