On 10/20/2010 08:59, Andrew Brunner wrote:
if Accept then
begin
|
1 2 3 4 5
Actually, I rarely break my If statements across more than one line
save to accommodate large logic statements for code readability.
if (condition1=condition2) or (conditionx=conditiony) then begin
// code here
end else begin
// more code here
end;
Since I did this, I find that switching back and forth from
Java/C#/Pascal/Javascript makes for quick code reading. Otherwise
it's way too difficult. I realize this is just my personal
preferences but I am also convinced after using this technique, most
would be using it as well.
just to toss my two cents into the ring... the above is not for me... i'm very
old-school... begin and end get their own line in my world...
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus