On 26/05/2010 06:06, Jürgen Hestermann wrote:
But why have an indentation after BEGIN? There is no new block to start after BEGIN. I would indent like this:

begin
if foo then
  begin
  bar := foo;

Who is to say that the begin is part of the block? (Anyone is free to tread it as such, but where is it officially defined?)

Looking at the way it is normally described in english (and being a bit picky):
I usually see statements like " A begin starts a new block"
And not like "a begin started a new block"

Then again, if you apply the same analysis to "end", then "end" would need to still be indented, while "begin" wasn't....

Martin


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to