print Edit

void print([arg1,...,argN])
Print values to the output window and log file.
V1 Function Name
More Information

Remarks Edit

The print function in Lua V2 is slightly different than the print function in V1. In V1, a comma separated list of arguments was concatenated together. In V2, the arguments are separated by a <tab> character, which matches the Lua specification. To concatenate arguments together in V2, you should use the Lua concatenation operator, ".." (dot dot). See

Example Edit

local val=2
print("The value is "..val)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.