Changes between Version 6 and Version 7 of StdLib2/ModuleLib
- Timestamp:
- 06/14/09 02:40:59 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StdLib2/ModuleLib
v6 v7 60 60 61 61 Compiles a module's source code into a function, which is returned, but does not call the function or import the module. `source` is the full source code of the module. `name` is the name to give the module, which would be something like "foo.bar.baz" for a normal module. It defaults to "<compiled by modules.compile>". 62 63 If you have the source for a module and want to import it, you can write something like `modules.initModule(modules.compile(source, name), name)`.