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. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
