5-14 HP IBASIC Supplement
Developing Programs
Editing Your Program Using Edit
Deleting Lines
The softkey allows you to remove the current program
line. When the current program line disappears, all subsequent lines in
the display move up one line, but are not renumbered. The cursor stays
in the same column and moves to the next-highest numbered line.
If is pressed when the cursor is on the last program line,
the line text is removed but the line number remains with the cursor in
the first column of line. This puts the editor in insert mode on the last
line of the program (see “Inserting Lines”). (To get out of insert mode,
move the cursor up one line with the arrow key.)
Pressing will not remove a subprogram line with the SUB
keyword in it unless all program lines belonging to that subprogram
have already been deleted. A block of program lines can be deleted by
executing the command DELETE x,y from an IBASIC command line
(where x is the first line number in the block and y is the last line
number).
When using an external keyboard, there are other keys that perform the
same function as the softkey. These are +
in the cursor keypad, and the function key ( ) that maps to
the softkey in the edit menu.
Recalling a Deleted Line
The last line that was deleted using is saved in the
analyzer. To recall this line, press the softkey or on
an external keyboard. Press to restore the line to the program.
Shift
Delete F3
F4