DELETE
D E L E T E < l i n e n u m b e r r a n g e >
D E L E T E 1 0 0-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
3 0 E V E R Y 1 0 G O S U B 1 0 0
4 0 X l = R N D * 3 2 0 : X 2 = R N D * 3 2 0
5 0 Y = 2 0 0 + R N D * 2 0 0
6 0 F O R x = 3 2 0-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
9 0 G O T O 4 0
1 0 0 M O V E 320,0
1 1 0 D R A W X + 8 , Y-16,0
1 2 0 RETURN
COMMAND: Disable interrupts (other than the * B r e a k * 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