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

  • 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 8
PT-Basic Programming Manual Ver. 1.00 8/143
2 Program Structure
2.1 Constants
Constants are the actual values used or generated in the program. There
are two types of constants:
2.1.1 String
A string constant is a sequence of up to 255 alphanumeric
characters or symbols enclosed in a pair of double quotation
marks.
"BASIC"
"2007.05.13"
"ArgoBasic program guide"
"168 IbB……"
"IbB 168 ……!"
2.1.2 Numeric
Numeric constants include positive and negative numbers.
Numeric constants in BASIC cannot contain commas. There are
two types of numeric constants that can be used in the PT-Basic
interpreter.
Integer constants: 2147483648 ~ + 2147483647
Real number constants: Positive or negative real number, that
contain a decimal point, such as 1.23
or 3.5897
2.2 Variables
Variable are symbols used to represent data items, such as numerical
values or character strings that are used in BASIC program. The value of a
variable may be assigned explicitly and can be changed during the
execution of the program. Value of a variable is assumed to be undefined
until a value is assigned to it.
Vue de la page 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 142 143

Commentaires sur ces manuels

Pas de commentaire