Separate IF and ELSE

IF and ELSE statements should be on separate lines. Bad code

IF Atom\[i+1\] = '\>' THEN HasLogicalOperator := TRUE ELSE BEGIN
...
END;

Good code

IF Atom\[i+1\] = '\>' THEN
HasLogicalOperator := TRUE
ELSE BEGIN
...
END;