Code:
 IF ( FWD ^ REVS ) AND NOT NEUT THEN   
        forward = FWD : revers = NOT forward
       ELSE
        forward = 0 : revers = 0
       ENDIF
IF ( FWD ^ REVS ) AND NOT NEUT THEN <---- do this mean, if FWD and REVS are opposite and NEUT is low then

forward = FWD : revers = NOT forward <---- forward is equal to what is FWD and revers is equal to opposite of forward else

forward = 0 : revers = 0 <---- turn the outputs low