Write Instruction
SyntaxGroupWrite #StreamNum, expr[, ...]
FileDescription
Write's exprs to StreamNum. String values are quoted. Null values are written as #NULL#. Boolean values are written as #FALSE# or #TRUE#. Date values are written as #date#. Error codes are written as #ERROR number#.Sandbox
Sandbox mode blocks this instruction.See Also
Input, Line Input, Print
Sub Main A = 1 B = 2 C$ = "Hello" Open "XXX" For Output As #1 Write #1, A, B, C$ Close #1 End Sub