Re: I think it's "require" but I can't get it to work....
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: I think it's "require" but I can't get it to work....
- From: Ron Hudson <rhudson@...>
- Date: 2003年10月25日 09:55:32 -0500
I had that. I tried several things, most of the time LUA complained
that "dofile" or "require" were
= nil, but when it did not complain, references in the program to
subroutines in ansi.lua were nil
I have finally copied ansi.lua into the top of my program.
is there somthing special I have to do in a "dofile" file? have no
global stuff and only functions
in there?
On Saturday, October 25, 2003, at 09:40 AM, Daniel Silverstone wrote:
On Sat, 2003年10月25日 at 15:34, Ron Hudson wrote:
ansi.lua is in the same directory as the file I am working on.
if that's your current directory then you can just do:
dofile "ansi.lua"
D.
--
Daniel Silverstone <dsilvers@digital-scurf.org>
Digital-Scurf