Casio fx-9750G PLUS User Manual Page 402

  • Download
  • Add to my manuals
  • Print
  • Page
    / 486
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 401
374
20-
11 Command Reference
If~Then~IfEnd
Function: The Then-statement is executed only when the If-condition is true (non-
zero). The IfEnd-statement is always executed: after the Then-statement is
executed or directly after the If-condition when the If-condition is false (0).
Syntax:
Parameters: condition, numeric expression
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 _
Then ”A = 0” _
IfEnd_
”END”
If~Then~Else
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 _
Then ”TRUE” _
Else ”FALSE”
If <condition>
_
:
^
Then <statement>
numeric expression
_
:
^
<statement>
_
:
^
IfEnd
If <condition>
_
:
^
Then <statement>
_
:
^
<statement>
numeric expression
_
:
^
Else <statement>
_
:
^
<statement>
Page view 401
1 2 ... 397 398 399 400 401 402 403 404 405 406 407 ... 485 486

Comments to this Manuals

No comments