[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua on raspberry pi... require() returning nil
- From: John Langley <digerat@...>
- Date: Sun, 20 Sep 2015 23:55:56 +0000
Yes! That was exactly what I was doing. Thank you SO MUCH. I'm definitely a newbie and should have qualified my question that way.
Thank you again!
Hi John. Since you mention using the REPL, could it be that you're assigning the return of require to a local?
> local m = require("m")
If that's the case, bear in mind that each line you enter in the REPL is run in a new scope.