api icon indicating copy to clipboard operation
api copied to clipboard

require() is nil?

Open slembcke opened this issue 5 years ago • 2 comments

Is there any reason to disallow the package system? I could probably get by with loadfile(), but it would require me to hard code system specific paths into my scripts.

slembcke avatar Feb 28 '19 15:02 slembcke

Known issue. At the moment I didn't export the require() keyword just for lack of time to learn more about it, but I hope to implement this in the near future.

dacap avatar Mar 16 '19 16:03 dacap

Yeah this could be most usefult to write extension to lua, or to use the struct module which helps to write binary files

WilliamIzzo83 avatar Jul 20 '20 13:07 WilliamIzzo83