Denso RC5 Dokumentacja Strona 222

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 221
9-8
9.7 Local Variable
DEFINT (Statement)
Function
Declares an integer type variable. The range of the integer is from
2147483648 to 2147483647.
Format
DEFINT <Variable name>[=<Constant>][,<Variable name>[=<Constant>]...]
Explanation
This statement declares the variable designated by <Variable name> as the
integer type variable. By writing a constant after <Variable name>,
initialization can be carried out simultaneously with the declaration.
Multiple variable names can be declared at a time by delineating the names
using “,”.
Related Terms
DEFDBL, DEFSNG, DEFSTR
Example
DEFINT lix, liy, liz 'Declares lix, liy, and liz as integer type variables.
DEFINT lix = 1 'Declares lix as an integer type variable and sets
'the initial value to 1.
Przeglądanie stron 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag