You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function is from the Lua standard (see print in the official Lua manual).
This function takes variadic parameters, which means it can take from 0 to n parameters.
All parameters are converted to string as if tostring was called on them before passing them to this function.
When called with more than one argument, each printed argument will be separated by a tabulation (\t character)
Example code
-- Prints "Hello world" to the outputprint("Hello world")
-- Prints "true 1.24 str vec2(10, 20)" to the outputprint(true, 1.24, "str", Vec2(10, 20))
-- Prints the table pointer (something like "table: 0x7f3fbd713598")print({ "Hello", "World", key="value" })