lua:formatargs
Differences
This shows you the differences between two versions of the page.
| lua:formatargs [2014/12/27 07:24] – created vodur | lua:formatargs [2014/12/27 07:24] (current) – vodur | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Many functions that accept string arguments will also accept format arguments (in the style of | + | Many functions that accept string arguments will also accept format arguments (in the style of [[http:// |
| - | [[http:// | + | |
| In fact, in these cases, the function is just passing its arguments along to string.format, | In fact, in these cases, the function is just passing its arguments along to string.format, | ||
| + | <code lua> | ||
| say(" | say(" | ||
| + | </ | ||
| - | mdo(" | + | <code lua> |
| + | mdo ("poke %s", ch.name) | ||
| + | </ | ||
lua/formatargs.1419665043.txt.gz · Last modified: 2014/12/27 07:24 by vodur