Yes, it is treacherous. I try not to use it. Maybe if it only allowed
to refer to properties, functions of the "with" object, but it also
allows outer scope and you never know how the classes will change in
the future. Suddenly your code refers to entirely different data,
because someone decided to add a property to the "with" object.

Does it have any performance advantage (in the generated code)?

--
cobines

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to