DELETE
D E L E T E < l i n e n u m b e r r a n g e >
DELETE 100-200
COMMAND: A command that removes part of the current program as defined in the line number
range, expression. Not recoverable if issued in error, so use with care, and check for mistyping before
entering.
Associated keywords:
NEW
DI
DI
1 0 CLS
2 0 TAG
30 EVERY 10 GOSUB 100
4 0 X l = R N D * 3 2 0 : X 2 = R N D * 3 2 0
50 Y=200+RND*200
60 FOR x=320-X1 TO 32 0 + X 2 S T E P 2
7 0 D I : P L O T 3 2 0 , 0 , 1 : M O V E X-2,
Y : P R I N T " “ ; : M O V E X , Y : " # " ; :EI
8 0 NEXT
90 GOTO 40
1 0 0 M O V E 320,0
1 1 0 DRAW X+8,Y-16,0
1 2 0 RETURN
COMMAND: Disable interrupts (other than the
*Break*
interrupt) until re-enabled explicitly by
EI
or implicitly by the
RETURN
at the end of an interrupt
GOSUB
routine.
Used when the program wishes to get on literally without interruption – for example when two
routines within a program are competing for use of resources. In the example above, the main
program and the interrupt subroutine are competing for the use of the graphics display.
Associated keywords:
EI
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: ......