Not a problem because

IF PORTB.7 = 1 THEN 'If portb.7 is 1
PORTB.6 = 1 'set portb.6 to 1
POT0 = 25 'set poto to 25
ELSE 'If portb.7 is any value but 1
PORTB.6 = 0 ' set portb.6 to 0
POT0 = 0 'set poto to 0
ENDIF

how do you interpret this bit of code?