EasyManua.ls Logo

AMSTRAD CPC464 - Delete

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...
DELETE
DELETE <line number range>
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
10 CLS
20 TAG
30 EVERY 10 GOSUB 100
40 Xl=RND*320:X2=RND*320
50 Y=200+RND*200
60 FOR x=320-X1 TO 320+X2 STEP 2
70 DI:PLOT 320,0,1:MOVE X-2,
Y:PRINT " ā€œ;:MOVE X,Y: "#";:EI
80 NEXT
90 GOTO 40
100 MOVE 320,0
110 DRAW X+8,Y-16,0
120 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

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals