I use:

if cond1 then begin
end else begin
end;

and then fill in the bits after, like:

if cond1 then begin
  CodeChunkEvenIfJustOneLine;
end else begin
  CodeChunkUnlessNoElseWanted;
end;

Project Jedi publish a "preference". If I didn't already prefer my own way,
I would almost certainly go for theirs. It should be at
http://www.delphi-jedi.org but I couldn't get it just now.

Wayne

> 
> BTW any preferences for "begin end" layout?
> if blah then
>     begin
>         DoStuff
>     end
> 
> or
> 
> if blah then begin
>         DoStuff
>     end
> 
> Mark
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to