User`s guide

144
Chapter 8 Programming
[Square Brackets]....... Square brackets are used to enclose items that are op-
tional. Do not input the square brackets when inputting a
command.
Numeric Expressions . Numeric expressions (such as 10, 10 + 20, A) indicate con-
stants, calculations, numeric constants, etc.
Alpha Characters ....... Alpha characters indicate literal strings (such as AB).
kk
kk
k Basic Operation Commands
? (Input Command)
Function: Prompts for input of values for assignment to variables during program
execution.
Syntax: ? <variable name>
Example: ? A _
Description:
1. This command momentarily interrupts program execution and prompts for input
of a value or expression for assignment to a variable. When the input command is
executed, “?” to appears on the display and the calculator stands by for input.
2. Input in response to the input command must be a value or an expression, and
the expression cannot be a multi-statement.
^^
^^
^ (Output Command)
Function: Displays and intermediate result during program execution.
Description:
1. This command momentarily interrupts program execution and displays alpha
character text or the result of the calculation immediately before it.
2. The output command should be used at locations where you would normally
press the w key during a manual calculation.
: (Multi-statement Command)
Function: Connects two statements for sequential execution without stopping.
Description:
1. Unlike the output command (^), statements connected with the multi-statement
command are executed non-stop.
2. The multi-statement command can be used to link two calculation expressions or
two commands.
3. You can also use a carriage return indicated by _ in place of the multi-statement
command.
__
__
_ (Carriage Return)
Function: Connects two statements for sequential execution without stopping.