<p>Am 23.02.2016 23:28 schrieb "Mark Morgan Lloyd" <<a href="mailto:markMLl.fpc-pascal@telemetry.co.uk">markMLl.fpc-pascal@telemetry.co.uk</a>>:<br>
><br>
> Serguei TARASSOV wrote:<br>
><br>
>> There is no perfect way so why the language extension is the safest<br>
>> (remember recent discussion about IfThen pseudo-function).<br>
><br>
><br>
> More relevant to your situation, I remember discussion about adding an identifier to WITH to use as an explicit shortcut, i.e. something like<br>
><br>
> with foo= bar do<br>
>   foo.someField := ...<br>
></p>
<p>What would really help here would be the warning that Jonas mentioned...<br>
For the above you could just use a local variable and be done with it. No need to try to "fix" the with-statement.</p>
<p>Regards,<br>
Sven</p>