
3
Command Sets
3.1
General commands
Purpose
Κ
To return the absolute value of a numeric expression.
Syntax
Κ
A% = ABS(N%) or A% = ABS(N!)
Example
Κ
Num1% = 2.89
Num2% = 9.55
Difference% = ABS (Num1% - Num2%)
Description
Κ
A%
is numeric variable to be assigned to the absolute value
of a numeric expression.
N% or N!
is a numeric expression, it can be an integer or a
real number.
Purpose
Κ
To specify the maximum value of variable subscripts and to
allocate storage accordingly.
Syntax
Κ
DIM Array (range {,range}) {, Array(range {,range})}
Example
Κ
DIM A%(8), B%(5,5),C$(6)
Description
Κ
Array
is an array variable.
Range
can be an integer or an integer expression.
T P C 7 0 3 0
Programming Manual Ver. 1.00
15/131