I personally use "with" widely and never experienced any troubles with
it but I know that many people just hate this statement (see
discussion on Emb-ro forums and one of the most popular requests on
Emb-ro quality central).
I guess problem could be solved by modifying statement like this:
with some.very.very.long.name as foo, some.other.giant.object.name as bar do
foo.Field := bar.Field
but it IMHO violates Pascal syntax philosophy.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus