Difference between revisions of "LUBE.bin:pack"

(Creation)
 
m (Oops, description set too many times)
 
Line 13: Line 13:
 
* [[parent::LUBE]]
 
* [[parent::LUBE]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Packs table data.}}
 
 
* [[parent::LUBE.bin:setseperators]]
 
* [[parent::LUBE.bin:setseperators]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the seperators for packing/unpacking.}}
 
 
* [[parent::LUBE.bin:unpack]]
 
* [[parent::LUBE.bin:unpack]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Unpacks the string back into a table.}}
+
{{#set:Description=Packs table data.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|LUBE.bin:pack}}
 
{{i18n|LUBE.bin:pack}}

Latest revision as of 22:43, 6 March 2011

Packs a table into a single string in order to send it across a network. Used in conjunction with LUBE.bin:unpack once the data reaches the other side.

Function

Synopsis

string = lube.bin:pack( table )

Arguments

table table
A user defined table that you want to update.

Returns

string string
The table returned as a string, separated by predefined characters.

See Also

Other Languages