print

Help Contents Communication Transmitters print
Transmitters pr

print thing
pr thing
(print thing1 thing2 ...)
(pr thing1 thing2 ...)


command. Prints the input or inputs to the current write stream (initially the terminal). 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.

Examples:

pr 1234		;1234
pr pi		;3.14159
pr "Hallo		;hallo
pr [Hallo World!]		;Hallo World!
pr {an array}		;{an array}
pr [[sublist][structure]]		;[sublist][structure]
(pr)		;prints an empty line
(pr "one "two "three)		;one two three
(pr 1 "one [One] {one})		;1 one One {one}

See also:

Examples:

References:

Transmitters pr