EasyManua.ls Logo

Commodore 128D - Windowing; Using the WINDOW Command to Create a Window

Commodore 128D
427 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...
Windowing
You
don't
have
to
trace
an
entire
program.
You
can
place
TRON
within
a
program
as
a
line
prior
to
the
program
section
causing
problems.
Put
the
word
TROFF
as
a
program
line
after
the
trou
blesome
section.
When
you
run
the
program,
only
the
lines
between
TRON
and
TROFF
will
be
bracketed
in
the
results.
Windows
are
a
specific
area
of
the
screen
that
you
define
as
your
workspace.
Everything
you
type
(lines
you
type,
listings
of
programs,
etc.)
after
setting
a
window
appears
within
the
window's
boundaries,
not
affecting
the
screen
outside
the
window
area.
The
Commodore
128
provides.two
methods
of
creating
windows:
the
WINDOW
com
mand
and
ESCAPE
key
functions.
LJ
U
U
u
Using
the
WINDOW
Command
to
Create
a
Window
The
Commodore
128
BASIC
7.0
language
features
a
command
that
allows
you
to
create
and
manipulate
windows:
the
WINDOW
com
mand.
The
command
format
is:
WINDOW
top-left
column,
top-left
row,
bottom-right
column,
bottom-right
row
[,clear
option]
The
first
two
numbers
after
WINDOW
specify
the
column
and
row
number
of
where
you
want
the
top
left
corner
of
the
window
to
be;
the
next
two
numbers
are
the
coordinates
for
the
bottom
right
cor
ner.
Remember
that
the
screen
format
(40
or
80
columns)
dictates
the
acceptable
range
of
these
coordinates.
You
can
also
include
a
clear
option
with
this
command.
If
you
add
1
to
the
end
of
the
com
mand,
the
window
screen
area
is
cleared,
as
in
this
example:
WINDOW
10,10,
20,
20,1
Here's
a
sample
program
that
creates
four
windows
on
the
screen,
in
either
40-
or
80-column
format.
u
USING
C128
MODE—Some
BASIC
Commands
and
Keyboard
Operations
Unique
to
86
C128
Mode

Table of Contents

Other manuals for Commodore 128D

Related product manuals