Download Print this page

Radio Shack TRS-80 100 Quick Reference Manual page 20

Hide thumbs Also See for TRS-80 100:

Advertisement

Conwrts
leading
Banks
10
leaO:nt|
asten
Bks
Hanks.
3$
inserts
a
cJollar
a on
lo
tf-e
immed
late
*-fi
o<
the
lormaned
numbe*
PRINT
#».USINGSS##**»
AM
*•»
Changes
leading
spaces
to
asterisks
e«cept
to'
If*
space
to
the
«n
mediate
lei
ol
the
number,
where
it
inserts adollar sign
PRtNT#l.UStNG"S*>##
.12
I
"-sorts
a decimal
doth
PBINT#1
.USING
#•###
##'.14
5
,
inserts
acommabeloreeve'y
three
prmted
Oiqt-ls
to
trie
loft
of
Iho
Decimal
point
PRINT#1.USlNG
'#########
.1*43?
P'ints
the
"unbsr
in
eifXccMiai
toimai
PR*NT#i
USING
####
342200
RU«"COMxo*iftowr»ftoo
_
.R
CiearsanvanaDles.ioadsaBASiC
program I'smoommunicaliO'iB
lino
widtOeneser.ijteethenew
program
UBa
present.
BASIC
keepsa" open rtesopen.HHis
omttwd.
BASIC
c*oses
all
ope"
tiles
before
loading,
the
new
*
W
PAJN"C0M6TE'E
.H
HUN C0«67E1E
SAVE'COMcon'/gciraf/on'
1
Wriiesihecu<»enlBASFC
program
OutthecommuneaBons
line.
m
ASCII
tormat.
SAVE"CCW38M?t
TABfnumeHc
expression-]
Transmits
numeric
gipsMsion
spaces
betoret'an&mittirigtneneMdtataitom
numeric e>ptesnon ranges
between
and
255
Modem
Communications (MOM)
Modem
Communlca
lions
conflouratlon
Som
o
BASIC
oo
mmand*
require
tnai
you
specify the mooet'i
configuration.
TneDaudraleissei to30Obydelauft ihyicstolthe
conf^jurahon consists
ol
a
four
charactar
strin
g
ol
iho patlem
wpbs
.
where
w
WoidLength
'
:
De'ComS
(08
wherea
-
6
biis.7 - 7rxia:
B-
BDfls
Partly
Either
E.OU
Or
N. whore
E - Even;
-
COO:
I
-
Ignore:
N
-
None
b
Slop
Bits.
Ether
I
or
2.
where
i
-
i
atop
XONXOFF
Stafu*
Either
E
or
D. wrier*
E - Enable;D
-
DiaatW
Modem
CommunicMloniCoiTinianda and
Functions
CLOSE
MenumbartfeJ
Ctosesihospeci'ied
We
numbers
CLOSE
1.2
J
aOS£
EOF
(ffle
number)
TeststoranerxlofhtecorxMlononrtornoden
IHeOPENedasMJenumber
Tholimcion
returns
a
logcar
answer.
e*h
or'
true (-1)
if
you have
reached
ir>e
end
oHhe
Me.
oi
else 'alse
'
<0)
•>
you
have
not
reached
me
end
of
iho
t"Je.
IFFOF{l)THFNG0"O
1000
INPUT
#
fit*
number,
variable Net
InpuBoata.
sequential from
the
modem
hie
opened bs
Are
number
INPUT #1
A.BCS
INPUTS
{numeric
expression,
fife
number)
Returns a
siring
oi
a
lenijEhgiv»niby/u*ne«c»»p'ess'unlrom
ft*
modem
filcopcned
as
Are
number.
AS
'
INPUTW5.1
1
LINE
INPUT »menuYTroer.
iff
tar
Headsaiinrjoltcittio'noewo
ilNFl*IPUT#i
7%
LOAD'
MOM
icon
Wg<;raf.fQr»"
r
R
LoadBaBASlCpr»<)ra(n1famtno
node'"
Kft's present.
BASIC
njnsine
program
after
rt
has
been
0.-!.-:l
S.0AD"MDM.8N1E"
L.OA0
"MDM
8Me",R

Advertisement

loading