EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 226

Radio Shack TRS-80 Model III
274 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TRS-80
MODEL
III
CHR$(code
exp)
FRE(string)
INKEYS
String
Functions*
Function
Operation
ASC(string)
Returns
ASCII code
of first
character
in
string
argument.
Returns
a
one-character
string defined
by
code. If
code
specifies a
control
function, that
function is activated.
Returns amount
of memory
available
for
string storage.
Argument
is
a
dummy
variable.
Strobes
Keyboard and
returns a one-
character
string
corresponding to key
pressed
during strobe
(null string if
no
key is
pressed).
LEFTSfstring
, n)
Returns first n
characters of string
.
LEN(string)
Returns
length of string
(zero for
null
string)
.
MIDSf
string,p,n,)
Returns
substring of string
with length
n
and starting at
position
p
in
string.
RIGHTSf
string, n)
Returns last n
characters of string.
STR$(
numeric exp)
Returns
a
string
representation
of the
evaluated
argument.
Examples
Page
ASC(B$)
164
ASC("H")
CHR$(34)
164
CHR$(1)
FRE(A$)
INKEY$
LEFT$(A$,1)
LEFT$(L1$ +
C$,8)
LEFT$(A$,M + L)
LEN(A$
+
B$)
LEN("HOURS")
MID$(M$,5,2)
MID$(M$
+
B$,P,L-1)
RIGHT$(NA$,7)
RIGHT$(AB$,M2)
STR$(1.2345)
STR$(A
+ B*2)
165
166
167
167
168
168
168
STRINGSfw
,
char)
Returns
a
sequence
of n char
symbols
using first
character
of char.
TIMES
VAL(string)
Returns date and
time.
STRING$(30,".")
STRING$(25, "A")
STRING$(5,C$)
TIME$
Returns a
numeric
value corresponding
VAL("1
"
+ A$
-
to a
numeric-valued string
.
VAL(A$
+
B$)
VAL(G1$)
*
string
may
be a string
variable, expression,
or constant.
C$)
169
170
170
216

Other manuals for Radio Shack TRS-80 Model III

Related product manuals