82
Sensaphone
®
ISACC Instruction Manual
EDITING COMMANDS
The commands used to edit your program are INSERT, DELETE, ERASE and LIST. These
commands allow you to insert and delete lines within a new or already existing program.
When an existing line needs to be modified, the DELETE command is used to erase that line
and the INSERT command is used to retype the line. The ERASE command eliminates an
entire C program at once. The LIST command allows you to view the program on the screen.
ISACC's editor is a line editor. You can only make changes to the current line.
INSERT
To begin your program, enter INSERT at a prompt. ISACC will prompt you to type in the
first line of your program by displaying the following:
ISACC>insert
INSERT LINES
#001 >
After you are done typing the text for each line, press <RETURN> and the cursor will move
to the next line. If a <RETURN> is pressed on a line with no text, ISACC will return you
to a prompt, outside of the text editor.
Example:
ISACC>insert
INSERT LINES
#001 >this is a c program <RETURN>
#002 > <RETURN>
ISACC>
To add a line at a particular line number within your already existing program, type INSERT,
spacebar, line number. Using the example above, if you want to add a line at line #2, type
INSERT 2. ISACC will display the following, prompting you to type in the text for that line
and as many more as you want. To stop inserting lines, press <RETURN> on a line with no
text:
ISACC>insert 2
INSERT LINES
#002 >new line <RETURN>
#003 > <RETURN>
ISACC>
If line #002 already has text, that text will be moved to line #003.