On this page
Core command
PRNT
Prints text on the console; in Scripts, prefer ECHO.
Syntax
PRINT [<text>]
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<text> | No | Words, joined with a comma; text in double quotes is printed as written | A blank line |
Examples
PRINT "Hello World";
PRINT Hello World;
PRINT;
Details
Without text, PRINT prints a blank line. Unquoted text is split on spaces and joined again with a comma and a space: PRINT Hello World; prints Hello, World. To print several words as written, put them in double quotes: PRINT "Hello World"; prints Hello World.
In Scripts, prefer ECHO 'message';: it prints the text exactly as written, can include variable values with ${name}, and is never hidden by OUTPUT QUIET.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.