Skip to content

DELETE

Syntax

DELETE[<line number>] [-<line number>]

Purpose

To delete program lines.

Remarks

BASIC-80 always returns to command level after a DELETE is executed. If does not exist, an "Illegal function call" error occurs.

Example

DELETE 40         Deletes line 40
DELETE 40-100     Deletes lines 40 through 100, inclusive
DELETE-40         Deletes all lines up to and including line 40

See Also

  • AUTO - To generate a line number automatically after every carriage return
  • EDIT - To enter Edit Mode at the specified line
  • LIST - To list all or part of the program currently in memory at the terminal
  • LLIST - To list all or part of the program currently in memory at the line printer
  • RENUM - Renumber program lines and update line references