Formatting With Literals - Commodore CBM Printer 4022 User Manual

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

Advertisement

FORMATTING
WITH
LITERALS
In
the
example
below,
a
literal
appears
at
the
end
of
the printout
even though
the format
statement
does
not contain
one
in
that position.
Your
printer
automatically
prints
any
literal
that
appears
at
the
beginning
of
the
format
string
at
the
beginning
and end
of
the
printout.
1
00
1
S662
1
01.418
1
1
01
1
«482
1
05.593
1
1
08
1
*47
1
02.
790
1
1
09
1
S657
1
04.847
i
1
05
1
«781
1
02.316
1
1
09
1
t425
1
06.210
1
i
01
1
«15
1
04.099
1
i
06
1
«854
1
05.610
1
t
03
1
$324
1
04.054
1
1
03
1
*971
1
03.
325
1
10
0PEN1,4
20 0PEN2.4,2
30 OPENS, 4,1
40 F*="ai ZZ
Sll
SSSt
8)1
ZZ.999
50 PRINT#2,F*
60
FORI = 1TO10 X=10>HRND<
1
>
V=1000*RND<
1
>
:
Z»8*RND<
1
>
70 PRINT#3,XJV;Z NEXT
80 CMDl :LIST
REflDV.
A-9

Advertisement

Table of Contents
loading

Table of Contents