Home Contents | # print | Global | Lua Commands

## SYNOPSIS

1. print(···)
2. echo(···)

## DESCRIPTION

Receives any number of arguments, and prints their values to stdout, using the tostring function to convert them to strings. A TAB character is inserted between the printed values and a newline is added at the end. print() is not intended for formatted output, but only as a quick way to show a value, typically for debugging. For formatted output, use string.format().

As a Core4 extension, the echo() command works like print(), but does not add any TAB or newline characters.

## EXAMPLE

>
print("test")
test

## SEE ALSO

string.format, tostring