376
20- 11
Command Reference
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.)
Description:
1. When the starting value of the control variable is greater than the ending value,
execution continues from the statement following Next, without executing the
statements between For and Next.
2. A For-statement must always have a corresponding Next-statement, and the
Next-statement must always come after its corresponding For-statement.
3. The Next-statement defines the end of the loop created by For~Next, and so it
must always be included. Failure to do so results in an error.
Example:
For 1
→
A To 10
_
A
×
3
→
B
_
B
^
Next
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:
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 (omitting this value sets the step to 1)
Description:
1. This command is basically identical to For~To~Next. The only difference is that
you can specify the step.
2. Omitting the step value automatically sets the step to 1.
_
For <starting value>
→
<control variable name> To <ending value> Step <step value>
:
^
Next
Summary of Contents for CFX-9850G PLUS
Page 23: ... fx 9750G PLUS CFX 9850G PLUS CFX 9850GB PLUS CFX 9850GC PLUS CFX 9950GB PLUS ...
Page 28: ...xxvi Contents ...
Page 100: ...72 ...
Page 126: ...98 ...
Page 170: ...142 ...
Page 180: ...152 ...
Page 208: ...180 ...
Page 220: ...192 ...
Page 232: ...204 ...
Page 348: ...98 ...
Page 438: ...410 ...
Page 449: ...421 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 450: ...422 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 451: ...423 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 452: ...424 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...427 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...
Page 484: ...456 ...