Download Print this page

Goldstar FC-200 Operating Instructions Manual page 93

Family computer

Advertisement

LOG(X)
Returns the natural
logrithm
greater
than zero.
LPOS(X)
current
Returns the
head
within the
printer
Does not
necessarily
the print
tion of
head.
ment.
MIDS(X$, 1(,J))
a
Returns
length J
string
of
the
with
begining
Xx$
be
must
in
the range
there are
fewer
or
if
the
the
character,
right of
Ith
characters
beginning
are returned. If|
LEN(S$), MID$
null
string.
OCT$(n)
Returns a string which represents
value
the decimal
of
numeric expression
65535.
negative, the two's comple-
If
n is
ment from
used. That
is
same as
OCT$
(65536-n).
PEEK(I)
Returns the byte (decimal integer
read
to 255)
0
range
be
the range
must
|.
in
|
is
the complementary function to the
PEEK
statement.
POKE
POS()
Returns the current
leftmost position
is
ment
I)
RIGHTS(X$,
rightmost
Returns
the
If
|=
return
LEN(XS),
X8.
1=0,
IF
a
null
string (length
ed
RND(X)
Returns a random number
The
same sequence
1.
generated each
is
X>0,
the random
RUN.
If
must be
of
X
X.
position of the
line
printer buffer.
line
give the physical
posi
X is
a dummy argu-
characters
from
character.
and
J
Ith
|
If
to
omitted
J
255.
is
1
than
characters
J
to
all
rightmost
character
the
with
Ith
returns a
the
octal
is
a
agrument.
n
-32768
the range
to
in
is
the
is, OCT$
(-n)
the
in
from memory location
-32768
to 65535.
position. The
cursor
dummy argu-
O.
a
is
|
characters
of
string
|
X$.
is
return-
zero)
between
and
O
random number
of
time the program
is
generator
is
zg
reseeded
for any given
the next random
number
next random number
SGN(X)
Returns
X
(for
1
(for
X
0)
SINK)
Returns the sine
of
calculated
to double precision.
SPACES(X)
Returns the string
The expression
discards
X
portion and must be range
SPC)
Prints
blanks on the
|
be used
with
PRINT
must be
ments.
in
|
SQR(X)
Returns
the square
than
zero.
greater
STRS(X)
Returns a string
representation
of
Xx.
STRINGS(I, J)
STRINGS(I,
X$)
Returns
a
string
all
characters
have
ASCII
character
the string
of
TAB(I)
to
Spaces
position
|
current print position
does
TAB
space
nothing.
|,
leftmost position, and the rightmost position
the width minus one.
is
to 255.
TAB
range
O
PRINT
and
LPRINT
TAN(X)
Returns the
tangent
calculated
to double precision.
is
overflows, an
'Overflow'
USR((digit))
(X)
user's
the
Calls
=
generates
X. X
O
in
the
sequence
the
sequence.
in
X=0),
Olfor
0),
radians.
X in
SIN(X) is
of
of
spaces
length
X.
the fractional
to 255.
O
screen.
SPC may
only
and
state-
LPRINT
the range
to
0
255.
root
must
of
X.
X
the value
of
whose
of
length
|
first
code
J
or
the
XS.
If
on the console.
the
is
already beyond
Space
the
0 is
must be
the
in
|
be used
with
may
only
statements.
of
radians.
X in
TAN(X)
TAN
If
error
occur.
will
assembly
language

Advertisement

loading