print operator

Outputs single-row with one or more scalar expressions.

print x=1, s=strcat("Hello", ", ", "World!")


print [ColumnName =] ScalarExpression [',' ...]


  • ColumnName: An option name to assign to the output's singular column.
  • ScalarExpression: A scalar expression to evaluate.


A single-column, single-row, table whose single cell has the value of the evaluated ScalarExpression.


The print operator is useful as a quick way to evaluate one or more scalar expressions and make a single-row table out of the resulting values. For example:

print 0 + 1 + 2 + 3 + 4 + 5, x = "Wow!"
print banner=strcat("Hello", ", ", "World!")