Commodore PET User Manual page 107

Table of Contents

Advertisement

C=2(101 : FOR 1=1 TO 80: ?C .• :
NE~'::T: ?"F'HEl·~!
"
2001
2001
21:::101
2001
21:::1131
201:::11
2001
21:::101
2001
21:::101
2131:::11
21301
21:::11:::11
2001
2ü01
2001
2001
21:::11:::11
20ü1
201:::11
21:::101
2001
20(11
21:::101
21:::101
2~31:::11
2(101
2001
2001
2001
201:::11
21211:::11
201:::11
2001
201:::11
2001
21:::101
201:::11
20(11
21:::101
2(1(11
20(11
2(1(11
2001
21:::101
2~301
212101
2001
213(11
20(11
2(11:::11
20€l1
20131
2(101
20(11
2€l(11
2(11:::11
212101
2(1(11
2€l€l1
2(1(11
2(1(11
2(1(11
2(1(11
2(101
2(1(11
2€l€l1
2(101
213(11
2€l01
2121(11
2~3(11
2131211
2(101
2(1(11
2(11211
213(11
2\X11
2121(11
2121~H
F'HEl·~
!
F::EAD'r'.
~~
The use of commas between print items is a convenient way to print with
tabs in PET BASIC. You don't have to do anything in your program except use
commas to separate print items.
Tabs also work for strings. As an example. enter the following immediate
mode lines to print out twenty lines of tabbed character data:
A$= "HUF' ! " . B$="
n~o
! " : C$= "THF.:EE ! " : D$=" FOUF: ! "
FOF: 1=1 TO 2(1: ·"?A$., B$ .. (:$, D$:
NE~n:
?"F'HEloJ
1"
We use continuous line printing in the display program line because it is the
most effective of the three print formats -
single line printing, continuous line
printing
Ll,
or tabbed printing (,) -
for the display program. As we have seen.
numeric data does not blanket the screen, even with continuous line printing.
because PET BASIC leaves a space between the numbers.
94

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cbm

Table of Contents