Download Print this page

Goldstar FC-200 Operating Instructions Manual page 88

Family computer

Advertisement

((parameter list)
tion)
function:
define and
To
is
written
by
format:
END
function: To
terminate
close
all files
mand level
(integer
format:
ERROR
function:
simulate the
To
error or to allow error
defined by the
FOR—NEXT
format:
FOR
(variable) =(initial
value)
(final
NEXT ((variable)),
function:
series
To
allow a
be performed
of
number
times.
GOSUB—
RETURN
(line
format:
GOSUB
((line
REURN
branch
function:
To
to subroutine beginning
at
number) and return from
(line
subroutine.
format:
GOTO (line
number)
function:
branch
To
unconditionally out
normal
program
specified
(line
—GOTO
—THEN/IF
IF
IF
(expression)
(line
number) or
GOTO (line
number)
function:
make a decision regarding
To
flow
gram
returned by an expression.
format:
INPUT
("(prompt
variables)
function:
allow input from the keyboard
To
during program execution.
=
(function
defini-
name
a function that
user.
execution,
program
and return to com-
expression)
occurrence
of
an
codes
to be
user
value) to
(increment))
(STEP
(,
(variable)
...)
instructions to
of
in
loop a given
a
number)
number)
a
the
of
to a
sequence
number)
THEN
(statement)
(expression)
IF
pro-
based
on the result
string)"';) (list of
—86—
KEY LIST
format:
(function key
KEY
sion)
set
function: To
a string to specified function
key.
format:
LIST.
KEY
function:
contents
To list
the
keys.
LINE INPUT
format:
LINE
("(prompt
INPUT
variable)
ing
function:
To
input a entire
characters)
without the
use
format:
(variable)
(LET)
function:
assign value
To
a variable
MAX
FILES
format:
MAX
FILES
= (expression)
function:
To
specify the maximum number
files
opened
can be
in
When
'MAXFILES =O' is
only SAVE
and
fomed.
ON ERROR GOTO
format:
ON ERROR GOTO (line
enable
error trapping and specify
the first
line of
subroutines.
ON
GOTO/GOSUB
format:
ON
(expression)
number)
ON
(list of
number)
branch
function:
To
specified
line
on the value returned when an ex-
evaluated.
pression
is
ON/OFF/STOP
format:
(function key
KEY
activate/deactivate
function:
To
the
specified
BASIC
program.
format:
ON/OFF/STOP
STRIG
({n))
(string
expres-
),
function
of all
string)'';)
(str-
line (up
to 254
to a string variable,
of delimiters.
=
(expression)
of
an expression to
of
at a time. (expression)
0.15.
the range
of
executed,
can be
LOAD
per-
number) To
the
error handling
of
GOTO (list
line
(expression GOSUB
several
to
one
of
numbers, depending
ON/OFF/STOP
)
trapping
of
function
a
key
in

Advertisement

loading