Initial community commit
This commit is contained in:
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/printf.md
vendored
Normal file
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/printf.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user