DECLARE NUMERIC ☆
declares numeric variables.
DECLARE NUMERIC A,B,M(10)
declares simple variables A and B, and a 1-dimensional array M.
The way how to declare arrays is same as DIM statements.
A(10), B(2 TO 7)
C(10,10), D(0 TO 2, 0 TO 5)
E(4,4,2), F(3,3,2 TO 3)
Note that bounds of indices must be constants in the declaration.
DECLARE statements are declarative statements, which are not objects of the control.
When Option menu- Syntax - "Compel All Variables Declared" is checked, if a non-declared variable is found, compiling stops. This is useful to avid a bug caused by a typo.
Refer to DECLARE STRING