Download Print this page

Goldstar FC-200 Operating Instructions Manual page 94

Family computer

Advertisement

CSNG(X)
Converts
to a single precision number
X
CSRLIN
the
Returns
vertical
sor.
ERL/ERR
When an
error
handling
entered,
the variable
code
for error,
ror
line
contains
number
the
the error
was detected.
variables are
usually
statements
to direct or program
error trap
routine.
caused
the error was a direct mode
contain
ment,
ERL
wil
in
error
occurred
a
65535 =
IF
ERL THEN
Otherwise,
use
IF ERL
=
number)
(line
IF ERR
=
(error code)
Because
ERL
and
variables, neither may
the equal sign
in
a
LET
ment.
EXPX)
Returns e to the power
(=145.06286085862.
'Overflow'
error
message
FIX)
the
part
Returns
integer
cated).
is
FIX(X)
The major
*INT(ABS(X)).
and
tween
INT is
FIX
return the next lower number
x.
FRE(O)
")
FRE
are
Arguments to
FRE
the
returns
number
FRE
used
not being
BASIC.
by
returns
the number
FRE(O)
can be used
memory which
text
machine
file,
gram,
etc.
FRE("
file,
"")
bytes
in
for
memory
coordinate
the
of
cur-
subroutine
is
contains
the er-
ERR
and
the variable
ERL
of
the
which
line in
and
The
ERR
ERL
used
THEN
IF
in
...
the
flow in
the
statement
that
If
state-
To
test
65535.
an
if
direct statement, use
THEN
.
THEN
...
are reserved
ERR
to the
left of
appear
state-
(assignment)
be
must
of
X.
X
the
EXP
overflows,
If
is
printed.
of
(fraction trun-
X
equivalent
to
SGN(X)
difference
be-
does
that
FIX
not
for
negative
arguments.
dummy
of
in
bytes
memory
bytes
of
in
for
BASIC pro-
language
program
returns the number of
string
space.
_92—
HEXS(X)
Returns a string which represents
adecimal value
the decimal argument.
of
numeric
expression
n
is
a
If
-32768
to 65535.
complement
form
is
the
same
HEX$(-n)
INKEY$
Returns either a one-character
character read
taining a
or
a null
string
no key
if
characters
be
will
characters are passed
Control-C, which
gram except
the program.
INPUTS(X)
Returns a string of
X
the
keyboard. No character
and
characters are passed
all
Control-C, terminates the
cept
the
function.
INPUTS
(L)X$,
YS
INSTR
for
first
Searches
the
and
Y$ in
returns
X$
the match
found. Optional offset
is
the position
starting the
for
be
the
to 255.
in
range
O
if
cannot be
S$
is null
Y$
or
|
and
Y$
are
null, INSTR
is null, INSTR returns
be
string variables, string
string literals.
INTX)
the largest
Returns
LEFTS$(X$,
Returns a string comprising
characters
must be
of X$.
|
If
than
255.
is
greater
|
is
returned.
string
(X$)
1=0,
IF
a
null
string (length
ed.
LEN(XS)
Returns the number of
characters
Nonprinting
counted.
the
hex-
the
in
range
the two's
n is
negative,
used. That
is
is,
as
HEXS
(65536-n).
string
con-
from the keyboard
pressed.
No
is
echoed
and
all
through to the pro-
terminates
characters, read
from
will
echoed
be
through ex-
execution of
occurrence
of
string
the
position at which
sets
|
search.
must
|
if
LEN(X$)
If
|
or
if
found
S$
or
If
returns
only
Y$
0.
and
or
X$
Y$
1.
may
expressions,
or
matter
than
S
integer
X
the
leftmost
!
the
to
in
range
0
the entire
LEN(X$),
is
return-
zero)
characters
X$.
in
and
blanks
are

Advertisement

loading