Leading Zeroes Forced - Commodore CBM Printer 4022 User Manual

Hide thumbs Also See for CBM Printer 4022:
Table of Contents

Advertisement

LEADING
ZEROES FORCED
This
program
prints
ten
rows
of
numbers, each row beginning
with a
number
one
higher than
in
the
preceding
row.
In line
60,
the formatting
statement (which
is
prepared
for
in
line 30,
and
transmitted
in
line
70) specifies
leading
zeroes
in
all
fields
and
plus signs
in
the
first
two
fields.
•i-eesi.
+00O2.
0003.
0004
•«-ee02.
+0003.
0004.
0005
8003.
+0004.
0805.
0006
••0004.
+0005.
0006.
0007
4-0005.
+0006.
0007.
0008
•t-0006.
+0007.
0008.
0009
+0007.
+0008.
0009.
0010
+0008.
+0009.
0010.
0011
+0009.
+0010.
0011.
0012
+0010.
+0011.
0012.
0013
10
0PEN1.4
20
0PEN2.4.
1
30 0PEN3^4.2
40 0PEN4.4,4
50 PRINT«4
60 F»-"SZZZZ.
70 PRINT«3.F*
80 FORI-ITOIO
90 PRINT#2.I.I+l.I+2>I+3
100 NEXT
110 CMDl
128 PRINT: PRINT: PRINT:
PRINT
130 LIST
RERDV.
REM ENRBLE ERROR DIftGNOSTICS
SZZZZ.
ZZZZ.
ZZZZ"
A-
4

Advertisement

Table of Contents
loading

Table of Contents