Pack: Difference between revisions
Jump to navigation
Jump to search
(syntax error) |
imported>Felice Enellen (→ See also: formatting) |
||
| Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
* [[unpack]] | * [[Unpack|<code>unpack()</code>]] | ||
[[Category:Reference]] | [[Category:Reference]] | ||
[[Category:Api]] | [[Category:Api]] | ||
[[Category:Lua]] | [[Category:Lua]] | ||
Revision as of 13:09, 29 September 2020
pack( ... )
- Creates a table from the given parameters.
- ...
-
- parameters
Returns a new table with all parameters stored into keys 1, 2, etc
Examples
tab = pack(x, y, dx, dy) --tab = {x, y, dx, dy}