[Lazarus] 'with' is evil, isn't it?

Jürgen Hestermann juergen.hestermann at gmx.de
Wed Aug 3 07:18:08 CEST 2011


cobines schrieb:
> In case Qarray[QuaderNr]^.Teilung[R] is an object I usually do:
> tmp := Qarray[QuaderNr]^.Teilung[R];
>   
Yes, of course. But it's just so much easier to use "with" which does 
the same in the background and save you from adding local variables 
yourself.






More information about the Lazarus mailing list