User Tools

Site Tools


en:print

This is an old revision of the document!


Format

print expression [ ; ] print expression ,expression… [ ; ]

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.

If the optional semicolon is included, no new line is appended.

Example

print "all one"
print "some"
print "more"
for t = 1 to 10
	print t, t*2
next t

Will output:

all one
somemore
1             2
2             4
3             6
4             8
5             10
6             12
7             14
8             16
9             18
10            20

See Also

?, Cls, Print

2016/01/01 22:42

History

2.0.0Added columnar output (comma)
en/print.1586628947.txt.gz · Last modified: 2020/04/11 12:15 by admin