Casio FX-FD10PRO

User Manual - Page 135

For FX-FD10PRO.

PDF File Manual, 223 pages, Download pdf file

Loading ...
Loading ...
Loading ...
6-14
Do~LpWhile
Function: This command repeats specific commands as long as its condition is true (non-
zero).
Syntax:
Do
_
:
^
<statement>
_
:
^
LpWhile < condition>
numeric expression
Parameters: expression
Description:
This command repeats the commands contained in the loop as long as its condition is true
(non-zero). When the condition becomes false (0), execution proceeds from the statement
following the LpWhile-statement.
Since the condition comes after the LpWhile-statement, the condition is tested (checked)
after all of the commands inside the loop are executed.
While~WhileEnd
Function: This command repeats specific commands as long as its condition is true (non-
zero).
Syntax:
While < condition>
_
:
^
<statement>
_
:
^
WhileEnd
numeric expression
Parameters: expression
Description:
This command repeats the commands contained in the loop as long as its condition is true
(non-zero). When the condition becomes false (0), execution proceeds from the statement
following the WhileEnd-statement.
Since the condition comes after the While-statement, the condition is tested (checked) before
the commands inside the loop are executed.
k Program Control Commands (CTL)
Break
Function: This command breaks execution of a loop and continues from the next command
following the loop.
Syntax: Break _
Description:
This command breaks execution of a loop and continues from the next command following
the loop.
This command can be used to break execution of a For-statement, Do-statement, and While-
statement.
Loading ...
Loading ...
Loading ...