Denso Power Net Terminal BHT-103 Dokumentacja Strona 233

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 577
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 232
225
Syntax:
GOTO label
Description:
GOTO unconditionally transfers control to a label specified by label.
In an
IF statement block, you can omit GOTO immediately following THEN or
ELSE, as shown below.
IF a=0 THEN Lbl1 ELSE Lbl2
END IF
GOTO allows you to branch anywhere in your program. However, you should
branch only to another line in a program module or subroutine at the same pro-
gram level. Avoid transferring control to a
DEF FN block or other blocks at the dif-
ferent program level.
You can use
GO TO instead of GOTO.
Syntax errors:
Flow control statement
GOTO
Branches to a specified label.
Error code and message Meaning
error 71: Syntax error label has not been defined.
label is missing.
Przeglądanie stron 232
1 2 ... 228 229 230 231 232 233 234 235 236 237 238 ... 576 577

Komentarze do niniejszej Instrukcji

Brak uwag