[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: work4 - loadfile and packaging
- From: David Burgess <dburgess@...>
- Date: Sun, 16 Jan 2005 13:02:30 +1000
5.1 work4 has enhanced loadfile() so that it takes a second optional
parameter, namely the path to search for the file. Hence one can
write code like:
loadfile("myscript.lua", package.path)
This a great addition and works well with the new packaging system.
My question is whether dofile() should have the take the same
optional second parameter?
DB