enigma-devel
[Top][All Lists]
Advanced

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

Re: [Enigma-devel] ant33.lua runtime error under lua 5


From: Raoul
Subject: Re: [Enigma-devel] ant33.lua runtime error under lua 5
Date: Sat, 12 Aug 2006 22:23:06 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060713)

Hi,
>>>>>> It might be wise to look through the other antXX.lua levels to se
>>>>>> if he
>>>>>> used the same thing elsewhere.
>>>>> I just did, I couldn't find another occurrence of this particular
>>>>> "pattern".
>>>> I guess we found another one with a similar pattern that causes
>>>> trouble:
>>> Same problem. The same solution should work.
>>>
>>> that would be "switchb    = function() cell{{switch1, switch2}}() end"
>> Unless somebody can figure out why the above is not working, I
>> suggest using
>> the form I know works.
>>
>> Perhaps petr can figure out what is wrong.
>> Basically all I chaned on that line is added "function() [...] end"
>> and the "()" after the cell call.
>> This is to ensure enigma knows not to send argurments to the
>> callback, and then to call the function returned by cell,
>> which is what used to be the callback. I'm honestly clueless why this
>> is not working, since the nearly identical changes made by Daniel
>> to ant33 work just fine.
> Your solution:
>> what does work is "switchb = function()  switch1() switch2() end"...
> works fine and is better readable than any cell-function call that
> simply calls both switch functions in sequence.
>
> We really should take this fix.
>
> @Raoul - will you please change the level and close the bug.
Sure. Just fixed and works fine.
I close the bug now, but commit it together with other things later
(tomorow?).


 - Raoul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]