Casio fx-9750G Manual page 30

19. programming
Hide thumbs Also See for fx-9750G:
Table of Contents

Advertisement

19 - 11
Command Reference
Syntax:
Parameters:
Description:
1. This command is basically identical to For~To~Next. The only difference is that
2. Omitting the step value automatically sets the step to 1.
3. Making the starting value less than the ending value and specifying a positive
Example: For 1
Function: This command repeats specific commands as long as its condition is true
(non-zero).
Syntax:
Parameters: expression
Description:
1. This command repeats the commands contained in the loop as long as its condi-
2. Since the condition comes after the LpWhile-statement, the condition is tested
Example: Do_
Function: This command repeats specific commands as long as its condition is true
(non-zero).
For <starting value>
Next
• control variable name: A to Z
• starting value: value or expression that produces a value (i.e. sin
• ending value: value or expression that produces a value (i.e. sin
• step value: numeric value (omitting this value sets the step to 1)
you can specify the step.
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.
A To 10 Step 0.1_
B _
A
3
B ^
Next
Do~LpWhile
_
Do
:
~ LpWhile <expression>
^
tion is true (non-zero). When the condition becomes false (0), execution pro-
ceeds from the statement following the LpWhile-statement.
(checked) after all of the commands inside the loop are executed.
?
A_
A
2
B_
B ^
LpWhile B >10
While~WhileEnd
<control variable name> To <ending value> Step <step value>
_
:
^
x
, A, etc.)
x
, A, etc.)
342

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents