
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
Summary of Contents for Basic Interpreter Basic 80
Page 1: ...5IA iC intc tit tcl c t ...
Page 2: ......
Page 6: ... ...
Page 10: ......
Page 26: ......
Page 33: ...2 5 Intentially left blank ...
Page 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Page 112: ......
Page 136: ......
Page 140: ......
Page 160: ......
Page 165: ......
Page 166: ......
Page 174: ......
Page 176: ......
Page 182: ......
Page 184: ......
Page 190: ......