Vector Basic Interpreter Basic 80 Reference Manual - page 126
of
190
MKI$«integer
expression»
MKS$«single
precision ~~ression»
MKD$«double
precision expression»
Disk
convert numeric values to
string
values.
Any
numeric
value
that
is placed in a random file
buffer with an LSET or RSET
statement
must
be
converted to a string.
MKI$ converts an integer
to a 2-byte
string.
MKS$
converts
a
single
precision
number
to
a
4-byte
string.
MKD$
converts a double precision number to an
a-byte
string.
90 AMTw(K+T)
100 FIELD #1, 8 AS D$, 20 AS N$
110 LSET D$ • MKS$(AMT)
120 LSET N$ • A$
130 POT #1
See also CVI, CVS,
evo,
Section 3.9 and Appendix
B.
Returns a
string
which
represents
the
octal
value
of the decimal argument.
X is rounded to
an integer before OCT$(X) is evaluated.
PRINT OCT$(24)
30
Ok
See
the
HEX$
conversion.
I
for