[Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]
Marco van de Voort
marcov at stack.nl
Thu May 27 11:13:50 CEST 2010
On Thu, May 27, 2010 at 09:51:48AM +0200, Michael Schnell wrote:
> I'm a fan of "half-indentation", showing clearly as well the
> alternatives, as the start and end of the block of choices, while saving
> lines.
> With "else" I practically always do "end else begin" to make things more
> clear. (Code templates are nice :) )
>
> if x then begin
> code
> end else begin
> if y then begin
> code
> end else begin
> code
> end;
> end;
I always put begin,else,end on newlines. If they were not important they
would be omitted.
More information about the Lazarus
mailing list