PRINT

PRINT Expression [ ( ; | , ) Expression ... ] [ ( ; | , ) ]

Prints expressions to the standard output. The expressions are converted to strings by the Str() function.

If there is no semi-colon nor comma after the last expression, a newline character is printed after the last expression.

If a comma is used instead of a semi-colon, then a tab character (ASCII code 9) is printed to separate the expressions.

PRINT # File , Expression [ ( ; | , ) Expression ... ] [ ( ; | , ) ]

Same as above, except that expressions are sent to the stream File.


See also

CLOSE, COPY, Eof, FLUSH, INPUT, Lof, LINE INPUT, KILL, OPEN, READ, RENAME, Seek, SEEK, WRITE


Previous: Predefined constants Next: PRIVATE