[fpc-pascal] with statement using mulltiple objects
Frederic Da Vitoria
davitofrg at gmail.com
Wed Sep 17 09:38:46 CEST 2014
2014-09-17 3:11 GMT+02:00 Flávio Etrusco <flavio.etrusco at gmail.com>:
> On Tue, Sep 16, 2014 at 8:09 PM, Philippe <philippe at quarta.com.br> wrote:
> > on compiler implementation:
> >
> > I read in this list that the group lost months due a "with" problem.
> >
> > People use "with", and I guess lot of people use it!
> >
> > I checked the reference
> > http://www.freepascal.org/docs-html/ref/refsu58.html#x155-16500013.2.8
> and
> > there is not any warning ... just:
> >
> > The statement
> >
> > With A,B,C,D do Statement;
> >
> > is equivalent to
> >
> > With A do
> > With B do
> > With C do
> > With D do Statement;
> >
> > without any warning ...
> >
> (...)
>
> Why would it? As people replied in your thread, this has always been
> the behavior (at least in TP and Delphi), so if anything the only
> thing lacking is some minor documentation.
> Also please don't hijack threads.
>
I guess different communities have different rules, but I don't understand
(and I'd better understand if I don't want to do the same mistake): in what
way was Philippe's post hijacking? This question goes to Philippe too, as
he wrote "we may be out of subject" which shows he felt something wrong.
--
Frederic Da Vitoria
(davitof)
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140917/ed160ea3/attachment.html>
More information about the fpc-pascal
mailing list