Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

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, column positioning, and clear the screen, respectively. You can also evaluate expressions, which we'll cover soon.

Commands may be spelled out completely, or you can use the abbreviation, usually a single letter. Commands are not case-sensitive.

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

This
Is
A
Multi-line
Message!

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

This     Is       A        Columnar Message!

SAMPLES>write 7.95 * 1.15
9.1425
SAMPLES>
FeedbackOpens in a new tab