Operation Manual

The angle is even steeper,
and
the
two
lines
have
merged into
one
thick line because
of
even
greater overlap.
Here is another
sample
program
that
uses a FOR-NEXT loop to
print
all
the
possible combinations
of
dots
and
spaces
in
numeric
order:
05
REM SAMPLE 2
06
WIDTH "LPT1 ",255
10
NOOTS = 256
12
REM'MAXIMUM POSSIBLE COMBINATIONS
30
LPRINT CHR$(27);CHR$(75);CHR$(NDOTS
MOD
256);
CHR$(FIX(NDOTS/256));
40
REM'ST ART GRAPHICS 256 COLUMNS
50 FOR
X = 1
TO
\JOOTS-1
60 LPRJ'\JT
CHR$(X);
70
NEXTX
73
LPRINT:REM LINE FEED
Note:
The
IBM
Personal
Computer
is normally set for a
maximum
line length
of
80
characters.
The
"WIDTH"
command
in Line06eliminates the length restrictions.
The
printout
looks like this:
You can vary the
length
of
the
graphics line
by
changing the value
nll\JDOTS. Try changing the
density
in this
program
and
see
what
r.appens.
4-
16
IBM
Wades
Advanced
Features