Casio fx-9860G Slim Calculator User Manual


 
8-8
I Basic Operation Commands
? (Input Command)
Function: Prompts for input of values for assignment to variables during program execution.
Syntax: ? m <variable name>, "<prompt>" ? m<variable name>
Example: ? m A=
Description:
This command momentarily interrupts program execution and prompts for input of a value
or expression for assignment to a variable. If you do not specify a prompt, execution of this
command causes “?” to appear indicating the calculator is standing by for input. If a prompt
is specified, “<prompt>?” appears to prompt input. Up to 255 bytes of text can be used for a
prompt.
Input in response to the input command must be a value or an expression, and the
expression cannot be a multi-statement.
You can specify a list name, matrix name, string name, function memory (fn), graph (Yn), etc.
as a variable name.
< (Output Command)
Function: Displays an intermediate result during program execution.
Description:
This command momentarily interrupts program execution and displays alpha character text
or the result of the calculation immediately before the command.
The output command should be used at locations where you would normally press the U
key during a manual calculation.
: (Multi-statement Command)
Function: Connects two statements for sequential execution without stopping.
Description:
Unlike the output command (<), statements connected with the multi-statement command
are executed non-stop.
The multi-statement command can be used to link two calculation expressions or two
commands.
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.
Description:
Operation of the carriage return is identical to that of the multi-statement command.
You can create a blank line in a program by inputting a carriage return only. Using a carriage
return in place of the multi-statement command makes the displayed program easier to read.
’ (Comment Text Delimiter)
Function: Indicates comment text inserted inside a program.
Description: Anything following the apostrophe is treated as non-executable comment text.