Variables can be almost any name of almost any length. For example, $state_name or #total_cost. For exceptions, see Production Reporting Reserved Variables.
Do not use “_ ” or “:” as the first character of a two variable name.
Variable names are not case sensitive. That is, you can use a name as uppercase on one line and lowercase on the next; both refer to the same variable.
Production Reporting initializes variables to null (text and date) or zero (numeric).
Commands can grow to whatever length the memory of your computer can accommodate.
Numeric variables can be FLOAT, INTEGER, or DECIMAL. See DECLARE-VARIABLE for more information.
Variables and columns are known globally throughout a report, except if used in a local procedure (one with arguments or declared with the LOCAL argument) in which case they are known in that procedure only. See BEGIN-PROCEDURE for more information.