Are you actually comparing porta.0 to "HIGH"? If so, try changing high to 1. High is a reserved word. You could also just say:
If porta.0 then example1

This will be true when the pin is high, and false when it is low.