lua-users home
lua-l archive

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

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?