19990401
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:
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:
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
If
<condition>
_
:
^
Then <statement>
_
:
^
<statement>
numeric expression
_
:
^
Else <statement>
_
:
^
<statement>
_
:
^
IfEnd
_
For <starting value>
$
<control variable name> To <ending value> Step <step value>
:
^
Next
Содержание ALGEBRA FX 2.0
Страница 1: ... ALGEBRA FX 2 0 User s Guide ...
Страница 19: ...19990401 ALGEBRA FX 2 0 ...
Страница 26: ...19990401 1 1 Keys 1 1 1 Keys REPLAY COPY PASTE CAT CAL H COPY PRGM List Mat i ...
Страница 122: ...19990401 ...
Страница 155: ...19990401 5 1 2 Sample Graphs Example To graph y 3x2 Procedure 1 m GRPH TBL 2 dvxw 3 5 DRAW or w Result Screen ...
Страница 280: ...19990401 ...
Страница 310: ...19990401 ...
Страница 358: ...19990401 8 8 2 Program Library egcw w ww w ...
Страница 360: ...19990401 8 8 4 Program Library Example 1 Example 2 fw baw bf w fw baw ca w ...
Страница 362: ...19990401 8 8 6 Program Library ...
Страница 364: ...19990401 8 8 8 Program Library dw fcde wfcde wfcde fcde w daw w ...
Страница 366: ...19990401 8 8 10 Program Library b awaw bwaw aw9d w ...
Страница 423: ...19981001 MEMO ...
Страница 424: ...19981001 MEMO ...
Страница 425: ...19981001 MEMO ...