Reflection/Get source: Difference between revisions

m
(Lingo added)
Line 83:
 
----------------------------------------
-- Returns the source code of the script that defines the specified global function
-- @param {symbol} func - function specified as symbol
-- @return {string|VOID}
Line 103:
end</lang>
Usage:
<lang lingo>obj = script("ClassMyClass").new()
put getClassCode(obj)
-- script text is printed...
Anonymous user