var Variable = Value;

Global Commands

Arguments Variable the name of a variable. Must begin with a character (a-z, A-Z)
Value the value of a variable. May be a number (note that the decimal character is the dot), a string which must be enclosed in double quotes ("string") or a boolean value (true or false). As usual, terminate the line with a semi-colon ";".
Description Defines a variable.
The contents of any defined variable can later be referred to by using its name.
Remarks Example:

var PointCount = 61;
var Thickness = 12.5;
// note that on Windows systems a path must use forward slashes to separate directories
var FileName = "G:/AeroTools/JavaFoil/test.xml";
var Geometry.CreateAirfoil ( 0; PointCount; Thickness; 30; 0; 40; 30; 0; 1 );
var Geometry.Save ( FileName );
var Thickness = Thickness*2;
var Geometry.CreateAirfoil ( 0; PointCount; Thickness; 30; 0; 40; 30; 0; 1 );

NOTES:
The decimal character must be a dot (".") independent of your country settings.