Argox PA-20 Basic Programming Manual Manuale Utente Pagina 15

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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.
Vedere la pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 142 143

Commenti su questo manuale

Nessun commento