EasyManua.ls Logo

AMSTRAD CPC464 - Page 168

AMSTRAD CPC464
249 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RENUM
RENUM [<new line number>][ ,[<old line number>][,< increment>]
RENUM
RENUM 100,,100
COMMAND: Renumber program lines from the line specified, using the increment specified. The
<new line number> gives the first number for. the new sequence, defaulting to 10. The <old line
number> identifies where RENUM is to commence, and assumes the first program line if omitted.
The <increment> sets the increment to use between the line numbers, again defaulting to 10.
RENUM takes care of all GOSUB, GOTO and other line calls. If all the specifiers are omitted from the
command, the program is renumbered as if RENUM 10 , ,10 were issued.
Line numbers are valid in the range 1....65535.
RESTORE
RESTORE [<line number>]
RESTORE 300
10 FOR N=1 TO 6
20 READ A$
30 PRINT A$;" “;
40 DATA restored,data,can,be,read,again
50 NEXT
60 PRINT
70 RESTORE
80 GOT0 10
COMMAND: Restores the position of the reading pointer back to the beginning of the DATA
statement specified in the optional <line number>. Omitting <line number> restores the position of
the pointer back to the beginning of the first DATA statement.
Associated keywords: READ , DATA
RESUME
RESUME [<line number>]
or RESUME NEXT
RESUME 300
COMMAND: When an error has been trapped by an ON ERROR GOTO command, and has been
processed, RESUME allows normal program execution to continue, the resuming line number being
optionally specifiable. If not specified, the line in which the error has occurred is returned to.
RESUME NEXT returns to the line immediately following the statement in which the error was
detected.
Associatedkeywords: ON ERROR GOTO

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals