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: Tacvek
Subject: Re: [Enigma-devel] ant33.lua runtime error under lua 5
Date: Fri, 11 Aug 2006 20:31:14 -0400


----- Original Message ----- From: "Ronald Lamprecht" <address@hidden>
To: "Daniel Heck" <address@hidden>
Cc: <address@hidden>
Sent: Friday, August 11, 2006 5:52 PM
Subject: Re: [Enigma-devel] ant33.lua runtime error under lua 5


Hi Daniel,

Daniel Heck wrote:
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"

But that does not seem to work for some reason.
I am all but certain that should work... but for some reason it does not.

That function is simply an anonymous function that calls the function returned by the cell function. With that partiular syntax the cell function is supposed to rutun a fuction that simply calls switch1() and then switch2().

what does work is "switchb = function()  switch1() switch2() end"...

I'm still tring to figure out the problem with the version that uses cell.






reply via email to

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