[fpc-pascal] with statement using mulltiple objects

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 13 22:04:41 CEST 2014

On Sat, 13 Sep 2014 20:29:32 +0100
"vfclists ." <vfclists at gmail.com> wrote:

> What then is the nesting for if the command will only apply to the last
> item with the property? 

The compiler searches the identifier in the last With, then in the
second last With, ..., then in the local variables, then in the
parameters and so forth.

> Is each nested element supposed to be a property of
> the enclosing element?
> What is the rationale for such a statement, ie using multliple elements?

Less typing.


More information about the fpc-pascal mailing list