This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/printf.md

19 lines
405 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
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))
```
## 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.