[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to determine if my lua interpreter support dynamic link ?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 2 May 2009 17:32:18 -0300
> 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