u When you are inputting a program —— 2(BASE)*

*Programs input after pressing 2(BASE) are indicated by B to the right of the file name.

{TOP}/{BOTTOM}/{SEARCH}{MENU}

{d~o} ... {decimal}/{hexadecimal}/{binary}/{octal} value input

{LOGIC} ... {bitwise operator}

{DISPLAY} ... conversion of displayed value to {decimal}/{hexadecimal}/{binary}/{octal}

{Aa}/{SYMBOL}

Pressing !J(PRGM) displays the following program (PRGM) menu.

{Prog} ... {program recall}

{JUMP}/{?}/{^}

{RELATNL} ... {conditional jump relational operator menu}

{:} ... {multi-statement command}

Pressing !m(SET UP) displays the mode command menu shown below.

{Dec}/{Hex}/{Bin}/{Oct}

Pressing !f(FORMAT) displays the color command menu. For details, see “Using Color Commands in a Program” (page 8-28).

3.Editing Program ContentskDebugging a Program

A problem in a program that keeps the program from running correctly is called a “bug”, and the process of eliminating such problems is called “debugging”. Either of the following symptoms indicates that your program contains bugs that require debugging.

Error messages appearing when the program is run

Results that are not within your expectations

uTo eliminate bugs that cause error messages

An error message, like the one shown to the right, appears whenever something illegal occurs during program execution.

When such a message appears, press J to display the place in the program where the error was caused. The cursor will be flashing at the location of the problem. Check the “Error Message Table” (page α-1) for steps you should take to correct the situation.

8-4