Clone wiki

Core / print

Back to Beyond the Codea in-app reference

FunctionIconFunction-Small.png print (...) function


The Lua version 5.1 reference documents most of the print(...) function. The function receives any number of arguments, and prints their values to the Output pane, using the tostring function to convert them to strings. 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.