Argox PA-20 Basic Programming Manual Manuel d'utilisateur Page 15

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 143
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 142 143

Commentaires sur ces manuels

Pas de commentaire