Difference between revisions of "String.dump"
From GiderosMobile
Line 12: | Line 12: | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (string) <translate>string representation of function</translate><br/> | '''<translate>Returns</translate>''' (string) <translate>string representation of function</translate><br/> | ||
+ | |||
+ | {{String}} |
Revision as of 22:06, 11 February 2020
Available since: Gideros 2011.6
Class: string
Description
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.
(string) = string.dump(function)
Parameters
function: (function) function to convert to string
Return values
Returns (string) string representation of function