[fpc-pascal] with statement using mulltiple objects
philippe at quarta.com.br
Sun Sep 14 17:24:04 CEST 2014
main problem seems to be using property whose name is common within
2 objects of the same "with" (or code within several "with")
be controlled by a compiler option?
in that case compiler may return a
hint or warning or even an error depending of the choosen configuration
does this turn it safe, or safer?
12:06, Martin Schreiber escreveu:
> On Sunday 14 September 2014
16:34:06 Marco van de Voort wrote:
>> In the past I had the same
opinion about with (WITHs evilness is exaggerated) as many others, but
once I bumped my head a few times while using OO frameworks that were
either not of my design or very large, I basically stopped using it.
> Why does Free Pascal not invent a safe "with" similar as the "with"
> MSElang? If I would be cynical I could write "because one must
> Delphi has it?". ;-)
> fpc-pascal maillist -
fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal