Download Print this page

Goldstar FC-200 Operating Instructions Manual page 55

Family computer

Advertisement

as
as
long
the
error message
call this "Infinite Loop')
(Well
the
contrary,
On
formed
repeatedly
FOR
NEXT
1)
the
variables are
When
is
program
(Variables)
For
The program lines following the
statement
NEXT
amount specified
than
greater
the
value
initial
is not
step
lf
assumed
ment
is
à
The
characters assigned
all
computer are displayed
the
in
program
IF—GOTO
2)
is
possible
It
repeatedly
with
EE
variables.
case
of
In
there are
follows;
(But
nearly identical)
(Before
executing
[dl
run
Whether the program
executed
ë
the
IF
GOTO
executed
is
branches
the
by
END
+ [STOP]
is
not
not
generated.
is
it
'"definite
we
call
in
a loop
a given
in
statement
within
executed repeatedly
=
(initial
value)
encountered.
is
It
STEP.
by
If
the
the step
final value.
equal
to the
is
specified the
incre-
be
to
one.
by
the
on
right figure.
command
(As
loop
execute the
to
loop
statement and
IF
statement,
IF
using
methods as
two(2)
the operations are
statement)
IF
can be
or not
judged by
is
statement,
when
it
the
program
to
line
indicated
the
statement.
GOTO
=gi=
entered
or
that
series
loop"
a
of
times.
number
like
the
fixed
range
the
FOR
in
NEXT
TO (final
STEP
value)
statement are executed
FOR
the variables
Then
checked
the value of the
is
if
the
is
positive,
final
value.
16
H=£H21
FOR
z8
FRIHT
Elia
CHRS$(N)
20
CHRSCI)+CHRSCK)3"
PRINT
5&
66
HEXT
K
statement
with the conditional
18
N=1
IF
26
H>15
38 X=RHD(1)*36
48 V=RNDCI)#21
58 LOCATEX.V:PRINT
68 N=N+1:60T0 29
78
EHD
executing
(After
ei
After
>
[A
ecuted,
statement.
The
tionally to the
DP
7
ment.
instructions are
of
the
below program,
loop.
(increment).
until
incremented
is
by
variable
executed
is
loop
ZHFF
TO
3" "3
HSE
TO
statement)
70
GOTO
'"®'"
statement)
IF
the
program
is
it
is
judged by the
program
jumps gondi-
GOTO
state-
per-
the
the
the
is
until
"5
ex
IF

Advertisement

loading