-
-
Notifications
You must be signed in to change notification settings - Fork 616
printf
Neico edited this page Apr 6, 2016
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > printf
The printf performs like its C counterpart, printing a formatted string.
#!lua
printf("format", ...)
It is equivalent to this Lua code:
#!lua
print(string.format(format, unpack(arg))
format is a formatting string containing C printf() style formatting codes. It is followed by a list of arguments to be substituted into the format string.
None.