I ran into this problem today and it was (is) baffling. Looking at the ELSE definition on the PICAXE website under Commands, Else. The Programmer does not follow the syntax shown. Look at this code segment.
; This does not fail Syntax check
if b10 > 50 then
b1 = 2
else
b1 = 3
endif...