String.dump

From OpenEUO
Revision as of 20:44, 7 October 2010 by 76.184.213.234 (Talk) (Created page with " string.dump (function) Returns a string containing a binary representation of the given function, so that a later loadstring on this string returns a copy of the function. func...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
string.dump (function)

Returns a string containing a binary representation of the given function, so that a later loadstring on this string returns a copy of the function. function must be a Lua function without upvalues. (A local variable used by an inner function is called an upvalue, or external local variable, inside the inner function.)