The result of any operation can be assigned to another reserved word or to a variable. In XBUILD, variable names can consist of one more characters and are not case sensitive. The first character must be alphabetic and the rest can be any combination of alphanumeric characters and the underscore character, for example ABC, X23, CENTER_PT.
Strings can contain numeric, logical and string values.
To increase the current value of the reserved word <Z-COORD> by 10:
[<Z-COORD> = <Z-COORD> + 10]
To set the variable X_VAR to the current value of <X-COORD>, and then double X_VAR:
[x_var = <X-COORD>] [x_var = x_var * 2]
To set the variable feature to the string hole, then add the string top to the variable feature, and set the new string to the variable name:
[feature="hole"] [name= "top" + feature]