Remote-processing BASIC for the CX-10 Modbus Instrukcja Użytkownika Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 84
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
BASIC PROGRAMMING GUIDE
2-51
RESTORE
Syntax: RESTORE
Function: Resets the READ instruction pointer to the beginning of the DATA list.
Mode: Run
Use: RESTORE
DESCRIPTION
After a RESTORE statement is executed, the next READ statement accesses the first item in the first data
statement in the program.
ERROR
NO DATA - no DATA list provided.
EXAMPLE
100 READ A,B,C
110 PRINT A,B,C
120 RESTORE
130 READ X,Y,Z
140 PRINT X,Y,Z
150 READ A,B,C
160 PRINT A,B,C
150 DATA 1,2,3*2
150 DATA 6,9,12
>run
1 2 6
1 2 6
6 9 12
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 83 84

Komentarze do niniejszej Instrukcji

Brak uwag