K program commands (command) – Casio FX-CG10 User Manual
Page 297
![background image](https://www.manualsdir.com/files/830754/content/doc297.png)
8-13
: ( 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.
k Program Commands (COMMAND)
If~Then~(Else~)IfEnd
Function: The Then-statement is executed only when the If-condition is true (non-zero). The
Else-statement is executed when the If-condition is false (0). The IfEnd-statement is always
executed following either the Then-statement or Else-statement.
Syntax:
If
_
:
^
Then
_
:
^
numeric expression
_
:
^
Else
_
:
^
_
:
^
IfEnd