
RENUM
R E N U M [ < n e w l i n e n u m b e r > ] [ , [ < o l d l i n e n u m b e r > ] [ , < i n c r e m e n t > ]
R E N U M
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.
R E N U M
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
R E N U M 1 0 , , 1 0
were issued.
Line numbers are valid in the range 1....65535.
RESTORE
RESTORE [<line number>]
RESTORE 300
1 0 FOR N=1 TO 6
20 READ A$
30 PRINT A$;" “;
4 0 D A T A r e s t o r e d , d a t a , c a n , b e , r e a d , a g a i n
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:
REA D
,
DATA
RESUME
R E S U M E [<line number>]
or
R E S U M E N E X T
R E S U M E 3 0 0
COMMAND: When an error has been trapped by an
O N E R R O R G O T O
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.
R E S U M E NEXT
returns to the line immediately following the statement in which the error was
detected.
Associatedkeywords:
O N E R R O R G O T O
Summary of Contents for CPC464
Page 1: ......
Page 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Page 118: ...TO DO DRAW THIS PAGE ...
Page 219: ...actual value may be made to vary during the execution of a program ...
Page 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Page 241: ......