Skip to content
Andrew Owen edited this page May 25, 2023 · 1 revision

DELETE


DELETE [line_number_0|.] [-[line_number_1|.] ]

Deletes a range of lines from the program. Also stops program execution and returns control to the user.

Parameters

  • line_number_0 and line_number_1 are line numbers in the range [0 to 65529], specifying the inclusive range of line numbers to delete.
  • A . indicates the last line edited.
  • If the start point is omitted, the range will start at the start of the program.
  • If the end point is omitted, the range will end at the end of the program.
  • If no range is specified, the whole program will be deleted.

Errors

  • line_number_0 or line_number_1 is greater than 65529: Syntax error.
  • The range specified does not include any program lines stored: Illegal function call.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally