Print Instruction
Syntax:
Print #StreamNum, [expr[;
...][;]]
Group:
File
Description:
Print the expr(s) to StreamNum.
Use ; to separate expressions. A num is it
automatically converted to a string before printing (just like Str$(
)). If the instruction does not end with a ; then a newline is printed
at the end.
See
Also: Input, Line
Input, Write.
Example:
Sub Main
A = 1
B = 2
C$ = "Hello"
Open "XXX" For Output As #1
Print #1,A;",";B;",""";C$;""""
Close #1
End Sub