Difference between revisions of "Variant"

m
Line 1: Line 1:
 
Value is not a Lua type, just represents all of type like [[string]], [[number]], [[boolean]], LÖVE object, or [[table]].
 
Value is not a Lua type, just represents all of type like [[string]], [[number]], [[boolean]], LÖVE object, or [[table]].
 +
 +
In [[Thread]](or [[Channel]]), The value is boolean, string, number, LÖVE userdata, or a simple flat table. Foreign userdata (Lua's files, LuaSocket, ENet, ...), functions, and tables inside tables are not supported.
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|value}}
 
{{i18n|value}}

Revision as of 05:33, 26 January 2014

Value is not a Lua type, just represents all of type like string, number, boolean, LÖVE object, or table.

In Thread(or Channel), The value is boolean, string, number, LÖVE userdata, or a simple flat table. Foreign userdata (Lua's files, LuaSocket, ENet, ...), functions, and tables inside tables are not supported.

Other Languages