Casio FX-CG10 User Manual Page 298

  • Download
  • Add to my manuals
  • Print
  • Page
    / 601
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 297
CASIO
8-14
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 first 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> <statement>
_
:
^
Next
Parameters:
control variable name: A to Z, r,
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)
Description:
The default step value is 1.
Making the starting value less than the ending value and specifying a positive step value
causes the control variable to be incremented with each execution. Making the starting
value greater than the ending value and specifying a negative step value causes the control
variable to be decremented with each execution.
Do~LpWhile
Function: This command repeats specific commands as long as its condition is true (non-
zero).
Syntax:
Do
_
:
^
<statement>
_
:
^
LpWhile < condition >
numeric expression
Page view 297
1 2 ... 293 294 295 296 297 298 299 300 301 302 303 ... 600 601

Comments to this Manuals

No comments