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


_______________________________________________
Enigma-devel mailing list
Enigma-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/enigma-devel

Reply via email to