HTBasic Help
×
Menu
Index

DEL

Deletes program lines.
 
 DEL start [, end]
 
Usage:
DEL 100
DEL Go,Stop
DEL Thislabel,1500
DEL 100,1000
 
Description:
A range of program lines can be deleted by separating the starting and ending line numbers with a comma. If only one line is specified, only that line is deleted. Once a DEL statement has been executed, the specified lines cannot be retrieved.
 
SUB and DEF FN statements can not be deleted unless the entire subprogram is included in the range.
 
DEL cannot be executed from a running program, but can be executed while the program is PAUSEd (after DEL executes, the program is placed in a STOP state).
 
See Also: