EasyManuals Logo

Radio Shack CCR-81 Quick Reference Guide

Radio Shack CCR-81
38 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
Page #10 background imageLoading...
Page #10 background image
PPOINT
('Ir.y) Tests whether specified graphies cell
is
on
or
oll
and returns color code of specified cell.
PPOINT
(13.35>
RIGHT$
(str,/eng""
Returns right portion of slnng
ZIP~=RIGHT~(AO$,5>
SGN
(
..
u
..
erie)
Aeturns Slgn
01
specihed
numenc
expressIOn:
1
If
argumentls
negahve
° if argument
IS
0
+
1
If
argument
IS
poSItive
X=SGNtA
..
01
SIN
(aarame)
Returns slrle of angle gwen
ln
radians
y =
SIN(5)
STRING$
fIength.
eode
or
strias}
Retums a string of
charaeters (of
spealied
length) specified by ASCII code Of
by
the !ifSt charaeter
of
the string.
?STRING.<5
,"Z")
?STR
1NGS
(5.91
)
STR$
(au_me)
Converts a numeric expression
ta
a
string.
S."STR.
( l
SQR
(aarame)
Aetums the
SQuare
root of a number.
y,.SQR(
5+31
TAN
(aa_me)
Retums langent of angle given in
radians.
y"
TANUI5.7)
TIMER
Aetums oonlents
Of
allows sethng of limer
(0·65535).
? T1MER
T1MER"0
USRn
(n.merle)
calls
use(s
machine-language
subroullne
X=USIHY1
VAL
(str)
Converts a stnng
la
a number
A=VAL(O$)
VARPTR
(II.r)
Returns addresses of pointer fa the
specilied variable.
Y=USRCVARPTR{X)
l
HEX$
(#lumerlc)
Computes hexadecimal value
PRINT
HEXf,
(30)
y = HEXf,
(X/16)
INKEY$
Checks Ihe keyboard and relurns Ihe key being
presse<! (Il any)
Af,'INIIEYf,
INT
(numerie)
Converts a number
10
an .nlager
X"INTt5.21
dOYSTK
U} Aeturns Ihe horizontal or vertICal coordinale
vI
01
the leh
or
flght
JOysllck
o horizontal. leftlOystlck
1 verllcal left pystlCk
2 helflzontal.
f1ght
pysllck
3 vertICal. nght
PYStICk
M=JOYSH.
(1/1)
H=JOYSTI\ClI,)
UN
(str)
Aetums the tenglh
01
a stnog
:'lENtSENfol
LOC
(buffer)
Relurns the current record number
01
spealied
buffer
PRINT
lOC1_11
LOF
'buffer}
Returns the number
01
the last
(hlghest-numbered) record lnspecilied buffer
FOR X ,. 1
TO
LOFC-})
Y"LOF(-51
LOG
(nuarerie)
Aelums
naluralloganthm.
Y=lOG(3531
MEM
Flnds the amounl ot Iree memory.
PRINT
MEM
MID$
(str.pos,leng,h}
Aelurns a substnng of anolher
slrlng
starllng at
pas
tllenglh
IS
omltled.
Ihe
enlire Stllng
f1ghl
01
poSItion
IS
relurned.
Ff,"M!Of,<Af,
.31
?MIOf,(Af,,3.:;:)
PEEK
/loe.tlon}
Returns the contents of specilied
memory location.
A=PEEK
(32076)
POINT
(~.y)
Tests whether specilled graphies cell is on
or off, x (horizontal) 0-63.y (vertical)
-0-31.
The value
returned
IS
.,
If
the cell
is
in
a texl character: mode: 0 if il
is
off.
Of
the color code
If
it
is
on, See
CLS
lor
calor codes.
IF
POINT
11~
.10)
THEN
PRINT
"ON"
EL
SE
P.RINT
"OFF"
POS
(delllee)
Returns current print position. Oevice-2
printer,O
..
display.
PRINT
TABra)
PQS(0)
-
16
"

Other manuals for Radio Shack CCR-81

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack CCR-81 and is the answer not in the manual?

Radio Shack CCR-81 Specifications

General IconGeneral
BrandRadio Shack
ModelCCR-81
CategoryDesktop
LanguageEnglish

Related product manuals