System.ModuleName - Manhunter07/MFL GitHub Wiki
Declaration
function ModuleName: string = \built-in\
Description
The ModuleName
function in the System
package returns the name of the current module that runs the code.
- If the code is run from a package, it returns the package name.
- If the code is run directly from an evaluator (ie. a program instance) or if the module type cannot be determined, it returns and empty string (
""
).