EasyManua.ls Logo

Commodore Plus 4 - Page 59

Commodore Plus 4
464 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...
BASIC
Version
3.5
Commands,
Functions,
and System
Variables
47
Examples:
GRAPHIC
0,1
Switches
from
a
graphic
mode
to
the
text
modes.
The
last
text
screen
is
cleared.
GRAPHIC
CLR
Releases
the
12K
bit-mapped
graphic
area.
GRAPHIC
2,1
Switches
to
split-screen
high-resolution
mode
and
clears
the
graphic
screen.
GRAPHIC
3
Switches
to
full-screen
multicolor
mode
without
clearing
the
graphic
mode
screen.
GSHAPE
Abbr.
gS
GSHAPE
string
variable,
coordinates,
mode
GSHAPE
(GetSH
APE),
which
is
the
opposite
of
the
SSH
APE
(SaveSHAPE)
command,
retrieves
and
displays
a
graphic
screen
area
saved
by
an
SSHAPE
command.
You
can
use
SSHAPE
and
GSHAPE
in
any
graphic
mode
to
store
and
retrieve
a
rectangular
section
of
the
screen
that
is
up
to
255
text-sized
characters
long.
These
graphic
screen
areas
are
saved
as
text-string
values
in
memory.
You
use
a
text-string
variable
to
identify
the
screen
area,
just as
you
use
a
variable
to
identify
any
type
of
value.
After
you
save
a
screen
area
with
SSHAPE,
you
can
display
it
anywhere
on
the
graphic
screen.
When
you
retrieve
the
area
in
the
GSHAPE
command,
you
give
the
screen
location
where
you
want
the
area
to
be
displayed.
Parameters:
string
variable,
top
corner
coordinate,
display
mode
1.
The
string
variable
is
the
name
assigned
to
the
graphic
screen
area
saved
with
the
SSHAPE
command.
Retrieve
the
area
by
using
the
same
string-variable
name
used
in
the
SSHAPE
command.
2.
Display
a
copy
of
the
saved
graphic
screen
area
anywhere
on
the
screen
by
giving the
coordinates
of
the
top
left
corner
of
the
screen
area
where
you
want
the
drawing
to
appear.
3.
When
you
retrieve
the
saved
area,
you
can
choose
one
of
the
five
options
for
displaying
it.
0
display
duplicate
of
saved
area
(default)
1
display
saved
area
in
reversed
colors
2
OR
saved
area
with
current
area
3
AND
saved
area
with
current
area
4
XOR
saved
area
with
current
area
Option
0,
which
is
the
default
value
for
this
parameter,
draws
the
area
as
you
saved
it.

Other manuals for Commodore Plus 4

Related product manuals