![Casio CFX-9850GB PLUS User Manual Download Page 404](http://html.mh-extra.com/html/casio/cfx-9850gb-plus/cfx-9850gb-plus_user-manual_2567965404.webp)
20070201
k
Program Commands (COM)
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
<condition>
_
:
^
Then <statement>
_
:
^
<statement>
numeric expression
_
:
^
Else <statement>
_
:
^
<statement>
_
:
^
IfEnd
Parameters:
condition, numeric expression
Description:
(1) If ~ Then ~ IfEnd
• When the condition is true, execution proceeds with the Then-statement and then
continues with the statement following IfEnd.
• When the condition is false, execution jumps to the statement following IfEnd.
(2) If ~ Then ~ Else ~ IfEnd
• When the condition is true, execution proceeds with the Then-statement and then jumps
to the statement following IfEnd.
• When the condition is false, execution jumps to the Else-statement and then continues
with the statement following IfEnd.
For~To~(Step~)Next
Function:
This command repeats everything between the For-statement and the Next-
statement. The starting value is assigned to the control variable with the fi rst execution, and
the value of the control variable is changed according to the step value with each execution.
Execution continues until the value of the control variable exceeds the ending value.
Syntax:
For <starting value>
→
<control variable name> To <ending value>
Step <step value>
_
:
^
Next
Parameters:
• control variable name: A to Z
• starting value: value or expression that produces a value (i.e. sin
x
, A, etc.)
• ending value: value or expression that produces a value (i.e. sin
x
, A, etc.)
• step value: numeric value (default: 1)
8-5-4
Command Reference
Summary of Contents for CFX-9850GB PLUS
Page 19: ...20070201 4 Contents Appendix 1 Error Message Table α 1 1 2 Input Ranges α 2 1 ...
Page 335: ...20070201 u Input Example u Results 6 5 25 Tests ...
Page 361: ...20070201 Calculation Result Output Example p F distribution probability 6 7 15 Distribution ...
Page 435: ...20070201 8 8 2 Program Library egcw w ww w ...
Page 437: ...20070201 8 8 4 Program Library Example 1 Example 2 fw fw baw baw bf ca w w ...
Page 439: ...20070201 8 8 6 Program Library d wba wb w w ...
Page 441: ...20070201 8 8 8 Program Library dw fcde fcde w wfcde daw wfcde w ...
Page 443: ...20070201 8 8 10 Program Library b awaw bwaw aw x d w ...
Page 591: ...20070201 Appendix 1 Error Message Table 2 Input Ranges α ...