Argox PA-20 Basic Programming Manual Manual de usuario Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 143
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 14
PT-Basic Programming Manual Ver. 1.00 14/143
3 Command Sets
3.1 General commands
ABS
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.
DIM
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.
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 142 143

Comentarios a estos manuales

Sin comentarios