Indent statement after IF when not enclosed by BEGIN/END block
if blah=1
____return 1;
if blah=2
_begin
_return 2;
_end
else
_return 0;
13
votes
Jevon Anderson
shared this idea
-
Lee Robinson commented
I would agree as long as "return 2" inside the BEGIN/END is also indented
-
Lee Robinson commented
I don't quite understand this. The example shows all statements after the IF indented whether or not enclosed in BEGIN/END block. I would vote for this if it stated that all statements after the IF should be indented.