[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Errata PIL4
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 2 Jul 2020 15:45:20 -0300
> On this page https://www.lua.org/pil/1.4.html
>
> I think
> prompt> lua -i -l a.lua -e "x = 10"
>
> should be
> prompt> lua -i -l a -e "x = 10"
Your subject "PIL4" is quite confusing. The book on the site in PiL1
(the first edition of Programming in Lua), and it uses Lua 5.0. In
that version, -l loads a file, not a library, and as such it requires
the full name of the file.
-- Roberto