6.3 C Command Reference
6.3.1 Manual Commands
RUN
PURPOSE: Execution of a C program.
EXAMPLE: RUN
run
RUN>”PRN:”
PARAMETERS:
You can specify the output console being the printer instead of the screen.
EXPLANATION:
Execution starts at the beginning of the main() function of the program currently
loaded.
EDIT
PURPOSE: Writing or editing a C program.
EXAMPLE: EDIT
edit
EXPLANATION:
Enters the editor and opens the program area F 0-9 currently selected.
TRON
PURPOSE: Entering the TRACE mode for program debugging.
EXAMPLE: TRON
tron
EXPLANATION:
1. If you run a program in TRACE mode, computer will stop at each statement
showing program area number (F0-9), line number and statement.
2. After each statement, prompt “Break?_” appears. Press . . or .T. key to
execute the next statement.
3. Press N when prompted “Break?_” to exit the TRACE mode and finish
executing the program.
4. During TRACE mode execution of a program, you can press D when
prompted “Break?_” to evaluate the content of variables. The “var>_” prompt
allows you entering the name of the variable you want to evaluate. Entering
only . . will resume the TRACE mode execution.
5. You can press BRK to exit the program, but stay in TRACE mode. This is
useful if you want to re-run the program because you missed something.
TROFF
PURPOSE: Cancelling TRACE mode to switch back to normal program execution.
EXAMPLE: TROFF
troff