premake/website/docs/printf.md
2021-03-12 22:10:24 +01:00

405 B

The printf performs like its C counterpart, printing a formatted string.

printf("format", ...)

It is equivalent to this Lua code:

print(string.format(format, unpack(arg))

Parameters

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.

Return Value

None.