Mixed Format Field Types - Commodore CBM Printer 4022 User Manual

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

Advertisement

MIXED
FORMAT
FIELD
TYPES
Shown
below
are integer with leading zeroes,
alpha
field,
floating dollar
and
integer with
zero
suppressed.
In line
80,
CHR$(29),
(skip)
is
used
as a terminator
for
the alpha
field
so
that
it
is
formatted
correctly.
eeee2
pet computer
«795.ee
50
10
0PEN1«4
20 0PEH2/4.
1
30 0PEN3.4.2
40 0PEN4.4.4
50 PRINT»4
REM ENABLE ERROR DIRGNOSTICS
60 F«-"ZZZZZ
RAnRRRAARBRRRRRRfiRRR
«*«««. 99
999"
70 PRINT«3.Ft
80 R-2
90 B»-"PET COMPUTER"
100 C-795
110 D-50
120
PRINT«2.R.B«.CHR«<29>.C.D
130 CMDl
140 PRINT PRINT: PRINT:
PRINT
150 LIST
RERDV.
A-8

Advertisement

Table of Contents
loading

Table of Contents