I have never been able to get an "If - Then" command to work using more that one condition in PIC Basic. That is no A and B. Only A, then another question.

If I want to test a as 10 plus b at 20 for calling x:
loop:
if a = 10 then isb
loopb:

isb:
if b = 20 then x
goto loopb