lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I install my lua under cygwin through choosing "make ansi".
> 
> I want to know if my lua interpreter support dynamic link ?
> 
> Book - "PIL" tell me a method below:
> 
>  
> 
> Run "print(loadlib())" under lua prompt, and watch return result containing
> "bad arguments" information, if so, support dynamic link.
> 
>  [...]

You seem to be reading the first edition of PiL; it refers to Lua 5.0.
In Lua 5.1 function "loadlib" was renamed "pacakged.loadlib".

-- Roberto