MyButton var PortB.3
LED var PortB.4

TRISB = %00001000

Loop:
If MyButton=0 then
Toggle LED
While MyButton=0:Pause 100:Wend
endif
Goto Loop

End

Try the above and report back what the result is...