ENDIF expected after IF

After an IF statement, ENDIF should follow to terminate it. Example:

if x > 3
  a = 1
b = a

is incorrect, since the compiler doesn't know if b = a must always be executed (as the formatting suggests) or only when x exceeds 3. Here is a corrected example:

if x > 3
  a = 1
endif
b = a

See Also
Errors