Special Notations in Naming Variables

In z^3, variable can be declared and used in very flexible ways. All normal naming conventions used in common languages like Javascript, Java, C, etc. are followed. The names are case sensitive, though the editor gives special consideration to upper-cased internal Z functions to aid in typing them.

An interesting way to name variables is to have long names with spaces in them. To denote a long variable, simply prefix the name with ##.

For example:

##Weight of An Elephant = 10000kg;


##Weight of An Elephant<+>1000;

11000kg

Such long names are internally converted to a name that does not have spaces. The variable can be referred both ways.

For example, in this case, "##Weight of An Elephant" and "WeightofAnElephant" both refer to the same variable.