Command sets, General commands, 3 command sets – Argox PA-20 Basic Programming Manual User Manual
Page 15: 1 general commands

PT-Basic Programming Manual Ver. 1.00
14/143
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.