Skip to main content

Write Command

You use Write to display information. To display simple text, enclose it in double quotes: "Hello World!". You can use Write to write more than one thing at a time, by separating items in the list with commas. The special formatting controls (!, ?, and #) allow you to specify new lines, specify column position, and clear the screen, respectively. You can also evaluate expressions (covered soon).

Terminal


USER>write "Hello World!"
Hello World!
USER>write !, "This", !, "Is", !, "A", !, "Multi-line", !, "Message!", !

This
Is
A
Multi-line
Message!

USER>write !, "This", ?9, "Is", ?18, "A", ?27, "Columnar", ?36, "Message!", !

This     Is       A        Columnar Message!

USER>write 5*9
45
USER>
FeedbackOpens in a new tab