Anonymous user
Reflection/Get source: Difference between revisions
m
→{{header|Lingo}}
(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("
put getClassCode(obj)
-- script text is printed...
|