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
![](https://secure.gravatar.com/avatar/bc0832bddf5f56a740121e372733546c?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
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.