Casio FX-9750G Quick Start Manual page 359

Hide thumbs Also See for FX-9750G:
Table of Contents

Advertisement

19 - 11
Command Reference
Description:
This command is almost identical to If~Then. The only difference is that the IfEnd-
statement is always executed, regardless of whether the If-condition is true (non-
zero) or false (0).
Example: If A = 0 _
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).
Syntax:
Parameters: condition, numeric expression
Description:
1. The Then-statement is executed when the If-conditions is true (non-zero).
2. The Else-statement is executed when the If-conditions is false (zero).
Example: If A = 0 _
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:
Parameters: condition, numeric expression
Description:
This command is almost identical to If~Then~Else. The only difference is that the
IfEnd-statement is always executed, regardless of whether the If-condition is true
(non-zero) or false (0).
Then "A = 0" _
IfEnd _
"END"
If~Then~Else
If
<condition>
numeric expression
_
Else <statement>
:
^
Then "TRUE" _
Else "FALSE"
If~Then~Else~IfEnd
If
<condition>
numeric expression
_
Else <statement>
:
^
_
Then <statement>
:
^
_
<statement>
:
^
_
:
Then <statement>
^
_
<statement>
:
^
_
<statement>
:
^
_
:
<statement>
^
_
IfEnd
:
^
340

Advertisement

Table of Contents
loading

Table of Contents