lua-users home
lua-l archive

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


P.Gertman@informgaz.gazprom.ru wrote:

--what about such a redefine:
-- redefine `readfrom'
function readfrom (name)
  return %readfrom(some_root_path..name)   -- call the original `readfrom' with root path prepended to a name
end

This problem is that readfrom("...\\...\\..\\documents and settings\\eh\\NTUSER.DAT") will still work ..

/Erik