I always thought that the ENDIF statement was more for the PBP compiler and that you could Jump out of an IF/ENDIF pair without problem.