Download Print this page

Radio Shack TRS-80 100 Quick Reference Manual page 10

Hide thumbs Also See for TRS-80 100:

Advertisement

WSTfl tMBrtpotitlonMMrch
tirtng.match
tiring)
Searches
ai&Gt'ztrtngtoi thetirstoccurrenceol'M*rer>
sfri.tg
.
beglmmg
ai
sartpoOTon
KifH9fiigis'ouno.lNSTHreiutnsi')9
position in
tfie
string
wne
re
it
occurs
It
meaning
<snt lound.
then
INSTR
returns
a
zero
PRIN'INSftll
Omentfiylsul'atf?
*3ulfale>
lNT(rwj/rierice)xpi»s»'OfiJ
Heh»mslhe**otenomb*r
r
epr
esanteion
ol
mini
errc
.rp/esafo/i
not
greater
than novneiKr
VpMlfarl,
A#
-
IMT<-21«
995!
LEFTfcstrfrtg exprewatonjeng'frij
Reiu-nstnetitsiWogf/i
Charade's
of
sWng
expression
f>rj
=
1
FFTJC
THURSDAr.3t
LEHfctrtng expteemton)
Returns
the
numoer
of
characters
m
strmg
expression.
A%
-
1
ENffftOruary'
')
LET
vartaofe
*
express/on
Assirjn
value
ol
expression
to
vanSOle.
nmabto
rnu
si
Do
ol
the)
5»m
e data
type
as ftprtMQff
(
Ml
'5.
numeric
r
string)
.
Tn©
word
LET
is
updone'
LETA$-
The
-
AS
-The"
LOG(numeric
eipntilan)
Returns
me
natural
loganthm (base
"•"J
of
numeric
Gtptes&ion.
numeric
erofwrJon must be
greater
man
zero.
A
»
LOGO
01
MENU
EMitsBASlCardrotumsyoulottwModellOOMenu
MENU"
Miwurtngexpres»ror).po««*>n,r«n0t/i)
Return
sta-'ofn
da
racers trom
sizing
expression
starting at
position
•OhASKB -
MI0«AS.?.21
MiWBlringexpr»w*onlpc*»on,*engin)=Bt/Wig
expression?
Re&ace&ctfotBCtets
ol
strwg
e*D'es$K>n'i
starling
otposr>on
with
s/Y/rtg
expression?
Wogfi
anOposiiion
are
numeric
expressions, lengrh
19
opWnei
and
11
present
is
ignored.
MIDWAt.5!
=
"rF
NEW
FrasestP^currerflpfograrn.setsnumwricvariablosequBito
zero,
and
sets
string
»a>
lot*es
oquallo
*>ull
("
"J.
NEW
ON ERROR GOTO
flna
r*umoa«
intenipi
ONEBfORGOTOtOOO
Oe1rr>as
an
error
trapping
It
Renu'ns
the byte
vaU.e stored
at
memoiy
Loads
memory
erJOreas with
ON THE*
"tfrne'GOSUBIfne
number
Defines
ar
interrupt
lot
aclockco"dihon
wne
ifl
8
siring
expression
in
the lomn
HH:MM
:S
S
QNTIMEJ-
"14
SOW
GOSyR'CW
ON
numeric
express/on
GOTOJrWenumoerHi*
Evaluates
nurrwrtcewessirDntoanKHBgern.
ano'lrienb'ancliBStothenth
Acre fufiiOttr
in
the
list
ON
X
GOTO
'00.200,300
ON
numeric
expression
GOSUB
Itoa
numb«t
Hit
Evaluates
nuirwKwwesiroo
10
an
Integerr?.
and
then
cabs
Ihe subroutine
baginrsng
at
me
nth
Une
numbe*
m
the
list
ONXGOSl*
1GO.200.300
OUTportnumoef.
Byte value
Ottputsoyfe
value
to
theCPUpcf
number
OUT
55
100-
PE
E
K
("memory eddreasj
address.
A*
PEE*!
16999!
poke ma mo
ry
edoress. byle vrVue
byf
e
value
FOKEficDQO
104
POWERnumerfcexp/easlon
Sstameanrfcrrieiicpc'werdown
oenod numwceyD'93$wn"&<>8ia<\Q.eo
t
10to25S. TbcMrxlO'
100
•oil
I
au
tomaticairy
lim oH
attar
a penod
of
rwrgrc
expression
times
0.
1
rm
rtutes
K
you
are neither
running
*
pr
oofem
rot
emanng
commands
POWER
10
POWER CONT
Disablestrieaiitomaiicpowefdownleatjjraotirie
Model
100
POWER CONT
POWER
OFF.
RESU MB
TurnsotnriepawertomeModei 100
immediately "
RESUME
is
present,
upon
turnrngihe
power back
on, the
Mod
el
i
00
resumes esecubon
ot
(he
program
at
the
statement
(oHowifigiho.
POWER
OfF RESUME,
it
not
present
men
the
Mooti
1
00
returns to the
Wonu
u pon pcwsr
up.
IFT1MES>"1! 3000'
*MENPOWEROFF
POWfflOfF.
RESUME
READva/laWe
Mat
Readsanapproprialenumoerof waluosfroma
DAT
A
statemeni
and
siores hie
val
ues
o
the
vanables
ol va/i*
W
*
JrsT.
1E0nEADABifc.CS
M,

Advertisement

loading