lua-users home
lua-l archive

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


> I have to go through the source to make some changes. (I have
> installed compat-5.1, btw.)
	Maybe I'm completelly wrong, but are you certain you have
installed Compat-5.1 correctly?  You must load it first.  A very
effective way is to set environment variable LUA_INIT:

(Bourne shell):
export LUA_INIT="@/usr/local/share/lua/5.0/compat-5.1.lua"

(C shell):
setenv LUA_INIT "@/usr/local/share/lua/5.0/compat-5.1.lua"

	Hope this helps,