Argox PA-20 Basic Programming Manual Bedienungsanleitung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 143
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 142 143

Kommentare zu diesen Handbüchern

Keine Kommentare