WRITE#

Function

WRITE# outputs data to file

Syntax

WRITE#file no,var1,var2,....varX

Examples

WRITE#2,A$,B$,C

Will write the variables A$, B$ and C to file number 2.

Remarks

The difference between WRITE# and PRINT# is that WRITE# will insert commas in the file between the items as they are written, while strings are delimited with quotation marks. WRITE# will not insert a blank before a positive number is written.