output()

Read(225) Label: console, output, printout data,

Description:

Output data to console.

Syntax:

output(x,...)

Note:

The function exports one or more variables separated with the comma; the data printed out from console is separated with the tab. If parameter x is a table sequence, the function can only export 10 rows at most; to export all rows, use A.export() function first to convert the table sequence into strings and then output the data with this function.

Parameters:

x,…

Export parameters separated with the comma.

Options:

@t

Output data as well as the current time which will be placed before the printout data.

Example:

 

A

 

1

=to(4)

 

2

=output(A1)

Output “[1,2,3,4]

3

=output@t(A1)

Output “2013-05-02 11:51:59  [1,2,3,4]

4

=demo.query("select * from employee").export()

 

5

=output(A4)

Output all rows in the table sequence