A table of special function loaders
A table of functions that can be used as loaders. If you want to make a special loader for your package you can insert it into the package.preload table. For example:
In this example, when we required the package foo, the function was called.
See Also ...
package.config - Package configuration string
Lua base functions
(Help topic: lua=package.preload)
Enter a search string to find matching documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )