Denso RC5 Dokumentacja Strona 225

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 224
Chapter 9 Declaration Statements
9-11
DEFSTR (Statement)
Function
Declares a character string type variable. You can enter 247 characters or less
as a character string.
Format
DEFSTR <Variable name>[=<Constant>][,<Variable name>[=<Constant>]...]
Explanation
Declares a variable designated by <Variable name> as a character string. By
writing a constant after <Variable name>, initialization can be done
simultaneously with the declaration.
Multiple variable names can be declared at a time by separating each variable
with a comma (“,”).
Related Terms
DEFDBL, DEFINT, DEFSNG
Example
DEFSTR lsx, lsy, lsz 'Declares lsx, lsy, and lsz as character string type
'variables.
DEFSTR lsx = “DENSO” 'Declares lsx as a character string type variable and sets
'the initial value to “DENSO”.
Przeglądanie stron 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag