Denso BHT-200QW Spezifikationen Seite 204

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 587
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 203
196
The default value of increment is 1.
You can nest FOR ..NEXT statements to a maximum of 10 levels.
• When using the FOR ..NEXT statement together with block-structured statements (DEF
FN ..END DEF, FOR ..NEXT, FUNCTION ..END FUNCTION,
IF ..THEN ...ELSE ..END IF, SELECT ..CASE ..END SELECT, SUB ..END SUB
and WHILE ..WEND), you can nest them to a maximum of 30 levels.
• A same controlvariable should not be reused in a nested loop. Reusing it will
cause a run-time error when the NEXT statement for an outer FOR ..NEXT loop
executes.
Nested loops should not be crossed. Shown below is a correctly nested sample.
FOR i%=1 TO 10
FOR j%=2 TO 100
FOR k%=3 TO 1000
NEXT k%
NEXT j%
NEXT i%
FOR l%=1 TO 3
.
.
.
NEXT l%
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 26
Too deep nesting.
error 52: Incorrect use of
FOR…NEXT
NEXT without FOR.
error 53: Incomplete control
structure
Incomplete pairs of FOR and NEXT.
error 54: Incorrect FOR Index
variable
controlvariable for FOR is different from
that for NEXT.
error 88: 'TO' missing
TO finalvalue is missing.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
01h
NEXT without FOR
07h
Insufficient memory space
(Too deep nesting.)
Seitenansicht 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 586 587

Kommentare zu diesen Handbüchern

Keine Kommentare