An identifier or variable stores a piece of information, such as a group or an integer. Each identifier has a unique name. For information about legal identifier names, see Identifier names.
To store the number 42 in the identifier called ans , type an assignment statement:
> ans := 42;
To see the value of this identifier, type a print-statement:
> print ans; 42
To use this identifier in an expression, put it in the expression like a mathematical variable:
> x := 100 - ans;
The intrinsic procedure ShowIdentifiers() shows all the identifiers which you have assigned, and ShowValues() shows them together with their values.