VIC-20 C16 Plus/4 C64 C128 M65
The PRINT# command outputs one or more values to a previously opened file. Use the OPEN statement to open the file first.
PRINT #<logical_file_no>, <expression> [,|; <expression>] ... [;]
,) is used between two expressions, the records will be separated with a comma character.;) is used between two expressions, the expressions will be concatenated, and thus they will form a single record.;).Warning
File I/O commands are not implemented for the Commodore PET.
See INPUT# for an example.