>
> if x then begin
>   code
> end else begin
>
    new-command;

>   if y then begin
>     code
>   end else begin
>     code
>   end;
> end;
>

dammit, missed new-command when reading your code :S

also kinda missed your point tbh...

if x then begin
  code
end else
  if y then begin
    code
  end else begin
    code
  end;

both methods are as easy as each other for where to place the
begin/end/new-command, IMO.

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

Reply via email to