EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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 #114 background imageLoading...
Page #114 background image
Chapter
10
I
BASIC Keywords
CHR$
Function
CHR$(code)
Returns the character corresponding
to
an ASCII
or
control
code.
Code
is any ASCII
or
control code.
CHR$
is
the inverse
of
the ASC function and
is
commonly used
to
send a special character
to
the display.
See
Appendix
B
for
a
list
of ASCII codes.
Example
prints the character corresponding
to
ASCII code
35,
which is
#.
PRINT
CHR$<35)
Sample
Program
The following program lets you investigate the effect of printing
ASCII codes on the display.
100
CLS
110
INPUT "TYPE
IN
THE
CODE";
C
120
PRINT "CHR$<CODE)= ";CHR$(C)
130 GOT0
11
0
112

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals