Print#

Output data to the file

Print# <File No.> [,<Expression> [;|,<Expression> ...]][;|,]

Parameters
<File No.>
The file number (integer) of the file with the data to be read in.
<Expression>
The expression to be output and the character string (integer, double-precision, character string).

Return Value
None.

Description
Output the character string to the file.

Example
Output the character string to the file "C:\sample.txt".
    Open "C:\sample.txt" For Append As #1
    STRING$ = "Sample"
    Print #1, STRING$ + " Print#"
    Close #1