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 #297 background imageLoading...
Page #297 background image
Chapter
10
I
BASIC
Keywords
RIGHT$
Function
RIGHT$(string,nurnber)
Returns the specified number of characters from the far right
portion
of
string.
Number
is an integer in the range
1
to
255.
If
number
is equal
to
or
greater than the length
of
string,
BASIC
returns the entire string.
Examples
PRINT RIGHT$("WATERMELON",
5)
prints MELON.
PRINT RIGHT$("MILKY
WAY",
25)
prints MILKY WAY.
Sample Program
850 RESTORE
:
ON ERROR GOTO 880
860 READ COMPANY$
870 PRINT RIGHT$CCOMPANY$,
21,
:
GOTO
860
880 END
890 DATA "BECHMAN LUMBER COMPANY, SEATTLE,
WA"
900 DATA "ED NORTON SEWER SERVICE, BROOKLYN, NY"
91 0 DATA "HAMMON MANUFACTURING COMPANY
~
HAMMOND,
IN"
This program prints the name of the state in which each com-
pany is located.
295

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