EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 106

Texas Instruments TI-99/4A
204 pages
Print Icon
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...
GCHAR subprogram
(Get character)
**
nnNE
**
36
--screen
fiLLs
with
$$$
(code
36)
--screen
cLears
>NE\oI
>100
CALL
CLEAR
>110
CALL
IICIlAR<1,1,36,768)
>120
CALL
GCHAR(S,10,X)
>130
CALL
CLEAR
>140 PRINT X
>150
END
>RUN
Examples:
bl)
b
Ib
row-num er,co umn-num
er,numenc'vana
e
CHAR
subprogram
aIlows you
to
read
a
character
from
ere
on
the display screen.
The
position of the
character
you
is
described
by row-number
and
column-number.
The
uter
puts
the
ASCII
numeric code of
the
requested
cter
into the numeric-variable you specify in the
CALL
AR
statement.
w-number
and
column-number
are
numeric expressions.
If
aluation
of
the
numeric
expressions
results in a non-integer
. the result is
rounded
to
obtain
an
intp.gPL A
va
hw
of
1
fm
umber
indicates the top
of
the screen. A value of 1 for column-
r specifies
the
left side
of
the
screen.
The
screen
can
be
ht of
as
a "grid"
as
shown
here.
COLUMNS
2
4
(,
fI
111
11
14
11:1
IX
111
22
24
2Cl
2H
.It'J
32
I
I
:1
I 5
I
7 I
Q
I
II
I
13
I
15
I
17
I
19
I
21
I
23
I
25
I 27 I
29
I
31
I
_.
-
1()-
17
l8-
19
10-
21
22-
23
14-
1
2-
3
4-
5
0-
7
TheG
anywh
want
camp
chara
GCH
The
ro
the ev
value
row-n
numbe
thoug
CALL
GCHAR
(
()
R
Ili-
a
11
w
\2-
S
1J
14-
15
11-86
User's Reference Guide

Other manuals for Texas Instruments TI-99/4A

Related product manuals