I don't know if that is the proper title but this is what I need to do...

I have two ADC values and they basically are never equal. What I want to be able to do is when the values are within a certain range say +/- 5 I want to set them equal... Is there a way to do this in PICBSIC?

Thanks, Don