Remote-processing BASIC 52 Uživatelský manuál Strana 113

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 163
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 112
RPBASIC-52 PROGRAMMING GUIDE
2-94
RESTORE
Syntax: RESTORE
Function: Resets the READ instruction pointer to the beginning of the D ATA list.
Mode: Run
Use: RESTORE
Cards: All
DESCRIPTIO N
After a RESTOR E statement is executed, the next RE AD statement acc esses the first item in th e 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
Zobrazit stránku 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 162 163

Komentáře k této Příručce

Žádné komentáře