I guess I could use the ?Debug compiler directive and have two different pieces of code for each situation.
My code is actually a lot bigger, but this piece that is not working right I cut out and made it look like it's stand-alone. I have no idea what could cause the problem. It does seem like the expression is not evaluated right, or, that the assembler code generated is using the wrong kind of jump instruction or jumps to the wrong label, causing it to enter the wrong area.
My code is actually a lot bigger, but this piece that is not working right I cut out and made it look like it's stand-alone. I have no idea what could cause the problem. It does seem like the expression is not evaluated right, or, that the assembler code generated is using the wrong kind of jump instruction or jumps to the wrong label, causing it to enter the wrong area.