Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

207 DELETE Purpose The DELETE command is used to delete a group of lines from a program. It cannot be used as part of a program. You can specify which lines should be deleted with a command of the form DELETE 120,340 This would remove everything between line 120 and line 340 inclusive. To delete everything up to a certain line number (for example up to line 290) use DELETE 0,290 . To delete from line 500 to the last line, use as the last line to be deleted any number greater than the last line number in the program. Since the largest line number allowed is 32767 will do the trick, but will take a long time. DELETE 500,32767 To delete a single line just type the line number and press RETURN .

There is no need to use the DELETE command. Examples DELETE 0,540 DELETE 180,753 DELETE 540,32000 Syntax DELETE , Description A command enabling a range of lines to be deleted from a program. Since DELETE is a command it cannot be used in a program or as part of a multiple statement line. Associated keywords LIST , OLD , NEW