But when having it formatted like this
if x then begin
code
end else if y then begin
code
end else begin
code
end;
you can immediately see that the new-command has to be inserted like that:
if x then begin
code
end else begin
new-command
if y then begin
code
end else begin
code
end;
end;
Ooops. Something went wrong with the formatting here. What I meant was:
--------------------
But when having it formatted like this
if x then
begin
code
end
else
if y then
begin
code
end
else
begin
code
end;
you can immediately see that the new-command has to be inserted like that:
if x then
begin
code
end
else
begin
new-command
if y then
begin
code
end
else
begin
code
end;
end;
--------------------
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus