I am using an 18f2550.....

Norm...I don't think I am experienced enough to use that debug code...

I have looked back at some other code I have written and have used while/wend the same way.. should I use a pullup on portb.5 to ensure it is high?...I will try that but I think I have already..

Thanks for helping me figure this out...