[fpc-pascal] with statement using mulltiple objects

Marius fpclazarus at home.nl
Sun Sep 14 14:21:47 CEST 2014


J├╝rgen Hestermann wrote:

>Do you also prepent all function and variable names
>with the unit name they come from?
>Do you realy always write
>
>LazUTF8.UTF8Delete
>instead of
>UTF8Delete
>?
>
>Nested WITH statements and the unit concept share the
>same problem but still the benefits outweigh the drawbacks IMO
>(once you get used to it and keep possible problems in mind).

Good point, as far as i know there is not a solid solution for units
unless those global procedures like utf8delete where rewritten as class
procedures.

Marius




More information about the fpc-pascal mailing list