DELETEs the lines specified. DELETE line-no1 deletes the line specified, i.e., DELETE 130 on the program below:
00100 DATA 10,20,30,40
00110 DATA 50,60,70,80
00120 DATA 90,-1
00130 READ B
00140 IF B < />
-1 THEN LET M = M + B: GOTO 130
00150 PRINT "The sum is "; M
00160 END
has the following effect:
00100 DATA 10,20,30,40
00110 DATA 50,60,70,80
00120 DATA 90,-1
00140 IF B < />
-1 THEN LET M = M + B: GOTO 130
00150 PRINT "The sum is "; M
00160 END
whilst DELETE 140,160, will delete lines 140 through to 160 inclusive. Thus:
00100 DATA 10,20,30,40
00110 DATA 50,60,70,80
00120 DATA 90,-1
will be all that is left.