Quote Originally Posted by lerameur View Post
hi, I have this simple if then statement, it givs me four mistakes.. It tells me I need and endif and also its abad expression , this is straight out of the pbp manual. what is wrong with it

IF temperature.bit11 = 1 Then zerotemp


zerotemp
program here
If temperature.11 = 1 then goto zerotemp (don't need the goto but it always keeps me straight, and bit11 should work, but I just use 11 for no reason in particular)

zerotemp: (you didn't have a colon)
program here