Michael Schnell wrote:
On 02/12/2013 11:58 AM, Nicola wrote:
t I found a problem with nested command "with".
When reading code with nested with statements I get confused as well :-P .

Wouldn't help in the current case, but some way of setting an alias would be nice.

  with desc: TFingerRequest=
 TFingerRequest(LeftPane.Items[GreenBranch].Data).Description do begin
    desc.Append(Custom.Format(green_1, []));
    desc.Append(Custom.Format(green_2, []));
..

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to