If r4!=r2
r4<r2?65535,1->r6
End
FnOff
Disp r6>Dec,i,r2>Dec,i,r4>Dec,i
Repeat getKey(15):End
FnOn
The code above is called within a subroutine. When r4 > r2 is displays r6 as 1. However, when r4 < r2 is displays r6 as 0. In my code I displayed r2 and r4 to make sure that they weren't actually equal. I have a draw interrupt for greyscale:If DrawC++=2
DispGraph^^r^^r
0->DrawC
End
Would this be changing the value of r6?:r4<r2?65535,1→r6actually means
:If r4<r2What you want is
:65535
:Else
:1→r6
:End
:r4<r2?65535,1
:→r6