lang • print

PRINT

PRINT [ # hStream , ] Expression [ { ; | ;; | , } Expression ... ] [ { ; | ;; | , } ]

Prints expressions to the stream hStream.

If hStream is not specified, then the standard output is used.

VB uses as standard output the form in which the code resides.

The standard output can be redirected by the OUTPUT TO statement.

The expressions are converted to strings by the Str$ function.

The end-of-line delimiter can be defined with the Stream.EndOfLine property.

See also