
Typing the return key causes the current line of entered instructions to be saved. The editor will automatically
advance to the next line. Thus, hitting a series of <RETURN> will cause the editor to advance a series of lines.
Note, changes on a program line will not be saved unless a <return> is given.
<cntrl>P
The <cntrl>P command moves the editor to the previous line.
<cntrl>I
The <cntrl>I command inserts a line above the current line. For example, if the editor is at line number 2 and
<cntrl>I is applied, a new line will be inserted between lines 1 and 2. This new line will be labeled line 2. The old
line number 2 is renumbered as line 3.
<cntrl>D
The <cntrl>D command deletes the line currently being edited. For example, if the editor is at line number 2 and
<cntrl>D is applied, line 2 will be deleted. The previous line number 3 is now renumbered as line number 2.
<cntrl>Q
The <cntrl>Q quits the editor mode. In response, the DMC-40x0 will return a colon.
After the Edit session is over, the user may list the entered program using the LS command. If no operand follows
the LS command, the entire program will be listed. The user can start listing at a specific line or label using the
operand n. A command and new line number or label following the start listing operand specifies the location at
which listing is to stop.
Example:
Instruction
Interpretation
:LS
List entire program
:LS 5
Begin listing at line 5
:LS 5,9
List lines 5 thru 9
:LS #A,9
List line label #A thru line 9
:LS #A, #A +5
List line label #A and additional 5 lines
Chapter 7 Application Programming ▫ 161
DMC-40x0 User Manual