Specifications

Commands - 29
DELETE
Command
SYNTAX: DEL [–] line [–line] [–]
PURPOSE: To delete CAMBASIC program lines.
REMARKS: The DEL command erases the specified range of lines from the program. CAMBASIC always
returns to the Immediate Mode after a DELETE is executed.
RELATED: None
EXAMPLE: DEL 10 Deletes line 10
DEL 30–78 Deletes lines 30 through 78.
DEL –40 Deletes all lines from the beginning of the program up to and including line
40.
DEL 100– Delete all lines from 100 to the end of the program.
To delete the whole program, type NEW. If you accidently type NEW, you can recover the program
by typing “UNNEW”. You cannot recover individually deleted lines.
WARNING: If you specify a deletion range and the second line number does not exist, the next
higher line number will be deleted.
ERROR: <Line/label not found> – If the first line does not exist