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 #319 background imageLoading...
Page #319 background image
Chapter
10
I
BASIC
Keywords
STR$
Function
STR$(
number)
Converts
number
to
a
string.
If
number
is positive, STR$ places a blank before the string. If
number
is negative, STR$ places
a
minus sign
(-1
before the
string.
While arithmetic operations may be performed on
number,
only
string functions and operations may be performed on the string.
The complementary function
to
STR$ is
VAL.
Example
converts the number
X
into
a
string and stores it in
S$.
S$
=
STR$<X)
Sample Program
10
A
=
1
.6
:
B#
=
A
:
C#
=
VAL(STR$(A))
20
PRINT "REGULAR CONVERSION" TAB(40) "SPEC
I
AL
CONVERSION"
30
PRINT
B#
TAB(40) C#
317

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