Download Print this page

Radio Shack TRS-80 100 Quick Reference Manual page 13

Hide thumbs Also See for TRS-80 100:

Advertisement

OPtN-"L£0;"
FOR OUTPUT AS
fflf
nunrtMf
AWcaWsaDuHm
lor
a
semen
fii©
and
assigns
it
me
given
tile
number.
CPFlOCD'fOR
OUTPUT
AS
1
H»*urns th*
cuti«m Cu
"SO'
POSf'dummy numeric
aapraeWon)
pojtlon
R%
-
POS(0)
PM.SEI(*-coordlnat*,r-coortiln*tm)
Tumso*thel.CDp"<e*at
"::":
roVna
'<
y-coordlnale)
may
i
a
i
',
a
I'Om
id
63
PRESET
S55.10J
PRINT
express/on Mai
Prtrt
8
the data
in
expression
Sst
onto
tf*
screen,
starting at
tne
f
©n most end
ol
me
lire
PRINT "Menu
#'
'.I
PRINT IK.J%.K%
P*NTSac/e*npo«hVon»
Prirttsatir*grven
screen
pos«i»on
PRINT (SUO.TtMES
PRINT
US>NG
'format';
miprmaaton
Mat
Punts
the data
m
eipr«ssion
*M usog
specified
ib*mar lormat
consists
of
one
oi
more
of
m@
tollowing
"field
apecft*H8'
;
'T
PnrrteftfaUiringciW'acter
PRINTUSING"'
"Tandy"
"inBpKMr
Pnnn2>ncriaracer9lromastTing.
PRINT
JSING'O"
"Tandy"
#
Prints
one
digit
tor
each
4.
PRINTUSING
"#####
\5
+
Ineortstrionlaobrdostgnollna
number.
PRINT
USING
+###
##",-13
Inserts
a
minus
sign
either
at
mo
beginning
Ot
endof
negative
numbers
PRINT
USING "-######".14
**
Converts
loading
blanks
lo
load ing
aster
sk
s
Wan
ks
PRINTUSIKG""M###":US
Si
Inserts
a
dots*
sign
lo
the
immediate
let
ol
Vte<ormatted
number.
PRINTUSING
«#####"
4S0
**•
Oianges
leading
spaces
«o asterisks
wcteptfprthe
space
to
ihe
immeoiate
(aft
ol
the
number,
where
1
1
**8eris
a
doHa/
a
ign
PRINTU&NG
"S###";12
Irsensaoecimai
point
PPJINT
USING
"#####
##'14
5
Inserts
a
comma
before ovnry
th-oo printed
digits
to
the
left
o*
the
decimal pomi.
PWNTUS1NG
#########.
:I4432
Prints the
number
In
exponential (owiat.
PRINTUSING
"####
342900
PHiNT# »t
fH/mOef.iipfaiarQnWiC
P'ittte
devalues
of
expression
list
fo>
the
LCD Me OPE
N'ed
as
We
number.
PRINT
#1
,
A$
PniNT#4,
10,20,30
PRINT
**ltenufliow,USlHG"Tofma(",e»preas(ofl/rft
formats
theOaia
in
expression
itsl
and senOs
ilio
(he
LCD
tils
OPEN'ed
a*
.':
':.
See PRINT
USING
fo«
an
explanation of format
PBINt#).U5
NO
*######
A
PfllNI#5U3rnj
" \
»
AS
PSETfr-coorrtrt»le,y-c*oVtfrna>reJ
TuInsoftlholCDpUelsl
-.'...-
dlna
•<.
>:•-
.)
•:-
where
x-coorttna
te is
a
nurre*ric
eiptession ranging
ifom
Oio
239,
anfl
y-ccwo*n«B
is a
nurnarc
oipression
rangi
rg
trom
to
63
PSET
(40.45)
SAVE
"LCD:"
Lists
the current
BASIC
program
onto
ine
screen
(Nolo
.
Pressing
fflBfJ n45
TO
eft*ct
On
this
command)
SAVETCD;'
SCREENonororY
Turns
KaLABEl
Una
onorof
Onis0.0;of
is
0,1.
SCftEEfSO-.O
SCREEN0.1
T
A
D
(numeffC
eipmttonf
Skips
rumenc
ffAwosswn
spacw
before
prtn ting
lt»
nine
t
data
item
numeric expression ranges
between
and
255.
PRINT
TAB<30>.~TaDtB
I"
PRINT
#i.-ToWl
,
.TA&10)."Number.rAB(tC>
Prance

Advertisement

loading