EasyManua.ls Logo

Apple IIe - Control Flow: IF-THEN and FOR-NEXT Loops

Apple IIe
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Apple
BASIC
Reference
Guide
101
is
on,
may be sent
with
the
incorrect
codes.
The FLASH
statement
is
equivalent
to
a
POKE
50,127. The
FLASH
statement
is
turned
off
by
the
NORMAL
statement.
Example
]FLASH
]
PRINT"**"
**
When
the
lle's
80-column
card
is
activated
(either
in
the
40
or
80
column
mode),
the
alternative
character set
will
be active. The
alternate does
not
include
flashing characters.
Therefore,
FLASH
does
not
function
properly
when
the
80
column
card
is
active.
Applesoft
FOR
.. NEXT
Integer
The FOR
..
NEXT
statements are used
to
execute
a sequence
of
statements a set
number
of
times.
Configuration
FOR
variable=
a
to
b
[STEP
c]
NEXT
[variable*]
[,variable ... ]
variable
is
a real variable
in
Applesoft.
The
variable
is
used
as
a
counter.
a,
b
and
care
numeric
expressions
or
constants. The
numeric
constant must be
an
integer
in
Integer
BASIC.
a
is
the
initial
value
of
the
counter
and
bis
the
final
value. The
counter
is
incremented
or
decremented
depending
on
the
sign
of
c.
If
c
is
not
given,
it
will
be assumed
as
1.
* The variable
in
NEXT
is
only
optional
in
Applesoft.

Other manuals for Apple IIe

Related product manuals