K - Delete Lines
Deletes a line or lines from the current item.
Command
K
Action
To delete lines, press K. The Status/Command Line prompts:
DELETE #lines, Ret=current, Beg#-End#, 0=Exit:
You now have four options:
-
To delete the current line, press RETURN only.
-
To delete several lines starting with the current line, enter the number of lines to be deleted.
-
To delete a range of lines, enter the starting and ending line numbers separated by a dash (hyphen). The last line number must be greater than the current line number.
-
To exit the delete line function without deleting any lines, enter 0.
Example
Partial contents of the current screen. Note cursor position is on line 0127.
0123 START PRINT 0124 PRINT CLR 0125 PRINTER ON 0126 FLAG=1; CNT=1 0127 *EXTRA COMMENT LINE 0128 GOSUB 2500
Press K. Status/Command Line prompt:
DELETE #lines, Ret=current, Beg#-End#, 0=Exit:
Press RETURN. The screen now reads:
0123 START PRINT 0124 PRINT CLR 0125 PRINTER ON 0126 FLAG=1; CNT=1 0127 GOSUB 2500