PRINTH and PRINTH USING
Statements
The statement
400 INPUT#1,AS,BS
Inputs "CAMERA" to A$ and "AUTOMATIC
93604-1" to B$. To separate these strings
properly on the disk, write double quotation
marks to the disk image using CHR$(34). The
statement:
500 PRINT#1,CHRS(34)jASjCHRS(34)j
CHRS(34)jBSjCHRS(34)
writes:
"CAMERA, AUTOMATIC"JJ 93604-1"
And the statement:
600 INPUT#1,AS,BS
Inputs "CAMERA, AUTOMATIC" to A$ and
" 93604-1" to B$.
The PRINTH statement may also be used with
the USING option to control the format of the
disk file:
700 PRINT#1 ,USING"SS###.##,"jJjKjL
See Chapter 4 (Disk File Handling) and
"WRITEH" in this chapter.
7-266