thing
PRthing
(PRINTthing1
thing2
...
) (PRthing1
thing2
...
)
Prints the input or inputs to the current write stream (initially the Commander History/Output box). All the inputs are printed on a single line, separated by spaces, ending with a newline. If an input is a list, square brackets are not printed around it, but brackets are printed around sublists. Braces are always printed around arrays.
If the current write stream is a file that was opened as a text file (that is, not opened in binary mode), then PRINT writes each newline character as the Windows end-of-line sequence: a carriage return followed by a newline character.
If the current write stream is a file that was opened in binary mode, then only the lower byte of each character is printed. Furthermore, a newline character is printed simply as a newline character.
PRINT "Hello
Hello
PRINT [Hello how are you]
Hello how are you
PRINTDEPTHLIMIT |
PRINTWIDTHLIMIT |