This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:print [2020/04/11 12:16] admin |
en:print [2020/04/17 09:13] admin |
||
---|---|---|---|
Line 2: | Line 2: | ||
==== Format ==== | ==== Format ==== | ||
**print** [[expressions|expression]] [ ; ]\\ | **print** [[expressions|expression]] [ ; ]\\ | ||
- | **print** [[expressions|expression]] , | + | **?** [[expressions|expression]] [ ; ]\\ |
+ | **print** [[expressions|expression]] , | ||
+ | **?** [[expressions|expression]] , | ||
==== Description ==== | ==== Description ==== | ||
Writes text to the text output window, appending a new line. If multiple expressions are included in a single print statement, separated by commas, they will be output in 14 character wide left justified columns. | Writes text to the text output window, appending a new line. If multiple expressions are included in a single print statement, separated by commas, they will be output in 14 character wide left justified columns. | ||
- | If the optional semicolon is included, no new line is appended. | + | If the optional semicolon is included |
==== Example ==== | ==== Example ==== | ||
Line 13: | Line 15: | ||
< | < | ||
print "all one" | print "all one" | ||
- | print " | + | ? " |
print " | print " | ||
for t = 1 to 10 | for t = 1 to 10 | ||
- | print t, t*2 | + | ? t, t*2 |
next t | next t | ||
</ | </ | ||
Line 39: | Line 41: | ||
==== History ==== | ==== History ==== | ||
- | |2.0.0|Added columnar output (comma)| | + | |2.0.0|Added columnar output (comma) |