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 #339 background imageLoading...
Page #339 background image
ChuDter
10
I
BASIC Keywords
VIE
WIGraphics
Statement
Creates
a
viewport
that
redefines the screen parameters. This
defined
area,
a
window, becomes the only place you can draw
graphic displays.
(XI
,yI)
specifies the upper-left coordinates for the rectangular
viewport.
(~232)
specifies the lower-right coordinates for the rectangular
viewport.
All coordinates must be within the limitations of the screen.
Color
lets you fill in the specified viewport with the specified
color. See Chapter
8,
“Displaying Color and Graphics,” for infor-
mation on color.
Border
is an integer in the range 0 to 15. See Chapter
8,
“Dis-
playing Color and Graphics,” for information on the 16 color set
used for borders.
SCREEN specifies that all coordinates used in drawing are ab-
solute to Point 0,0 on
the
screen. If you omit SCREEN, all coor-
dinates specified are relative to the viewport coordinates.
If you omit all options, BASIC sets the viewport to define the en-
tire screen.
Examples
VIEW (10,10)-(100,1 00)
sets up
a
viewport with the upper-left corner
at
10,10 and the
lower-right corner at 100,100. Since SCREEN is omitted, all
subsequent coordinates are relative to the viewport.
For
example,
PSET
(5,5),3
actually sets point 15,15.
VIEW
SCREEN
<20,25)-<100,150)
sets up
a
viewport. Because SCREEN
is
specified, all subse-
quent coordinates are absolute.
For
example, PSET (5,5),3 does
not appear because
it
is
outside the viewport. PSET (30,30),3 is
within the viewport.
337

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