You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
He says v01.71 is not catching his onGRtouch, and that it worked okay in 1.70.
What's happening is that his onGRtouch: interrupt starts with an IF. The IfElseStack is not empty -- it has IEinterrupt on it. When executeIF() finds something on the stack, it checks:
if (q != IEexec) {
That needs to be
if ((q != IEexec) && (q != IEinterrupt)) {
otherwise the entire IF block is skipped. In Dave's case, that means it looks like the touch was ignored.
I can make that change easily enough (I have, and it makes Dave's code work again), but I don't know the IF/ELSE code well enough to know if that's all that's needed.
I think it's okay. With other IF/ELSE elements (ELSEIF, ELSE), the IF will already have put its own item on the IfElseStack. The IF is the only one that should have problems.
Paul, does that sound right to you?
The text was updated successfully, but these errors were encountered:
From forum user Dave: onGRtouch
He says v01.71 is not catching his onGRtouch, and that it worked okay in 1.70.
What's happening is that his
onGRtouch:
interrupt starts with anIF
. TheIfElseStack
is not empty -- it hasIEinterrupt
on it. WhenexecuteIF()
finds something on the stack, it checks:That needs to be
otherwise the entire IF block is skipped. In Dave's case, that means it looks like the touch was ignored.
I can make that change easily enough (I have, and it makes Dave's code work again), but I don't know the IF/ELSE code well enough to know if that's all that's needed.
I think it's okay. With other IF/ELSE elements (ELSEIF, ELSE), the IF will already have put its own item on the IfElseStack. The IF is the only one that should have problems.
Paul, does that sound right to you?
The text was updated successfully, but these errors were encountered: