[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Right place to put the _ERRORMESSAGE?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 16 Jan 2003 13:06:41 -0200
>function l_error (s)
> MsgInfo(s)
>end
>
>_ERRORMESSAGE = l_error
>
>MsgInfo just displays a MessageBox.
>When I put this code in the main Lua file, it works, but when it is
>defined in a file called via "dofile", it doesn't works!
I'm not sure what you mean. The example below works.
function _ERRORMESSAGE(x)
print(">>>>>",x)
end
a=a+1
Perhaps MsgInfo is not defined?
--lhf