[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Problem with loading files
- From: Tom Wrensch <twrensch@...>
- Date: Fri, 7 Jun 2002 10:52:32 -0700 (PDT)
I ran into a rather silly problem with Lua 5.0 work 0. I don't seem to be
able to load a .lua file.
In 4.1w4 I would do this:
Since dofile is not implemented in 5.0w0, I tried loadfile:
This executes with no error, but does NOT load the file (!).
I also tried require:
And got this error message:
stdin:1: could not load package `scheduler.lua' from path `?.lua'
1- [C]: in function `require'
2- stdin:1: in main chunk
Any idea what I'm doing wrong?
(This is on Windows 2000 Pro, compiled with VC++6.0 and also the same
error appeared when compiled with Bloodsheds Dev-C++ version 220.127.116.11)
- Tom Wrensch