Re: [fpc-pascal] with statement using mulltiple objects
2014-09-17 3:11 GMT+02:00 Flávio Etrusco : > On Tue, Sep 16, 2014 at 8:09 PM, Philippe 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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] how to implement a RTD server (COM Server) for windows
Window's DDE protocol is too old and the new one is called RTD. I want to implement such an RTD server for Excel client to connect to. Is there any examples of implementing COM server with fpc? Where do I start? Many thanks in advance. Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal templating engines with logical structures
> What you seem to want is something php-like, to interpret commands from the html template. But that way the program logic and display template would not be separate. Right, even a simple for/if statement means there's logic in the template, which is not desirable. Template should serve as a template, not more. It should provide parameters for the processing code for flexible display so flexible display can still work. Here's an example for table and list formatting of the same values: https://github.com/leledumbo/QTemplate/blob/master/examples/simple/test.tpl https://github.com/leledumbo/QTemplate/blob/master/examples/simple/test.lpr -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Freepascal-templating-engines-with-logical-structures-tp5720098p5720102.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] with statement using mulltiple objects
On Wed, Sep 17, 2014 at 4:38 AM, Frederic Da Vitoria wrote: > 2014-09-17 3:11 GMT+02:00 Flávio Etrusco : >> >> On Tue, Sep 16, 2014 at 8:09 PM, Philippe 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) > The mistake was actually mine :-$ I had deleted part of the thread and didn't realize this was the old thread. Sorry Phillippe, and sorry for the noise everybody. -Flávio ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] with statement using mulltiple objects
(tout excusé!) Em 17.09.2014 21:45, Flávio Etrusco escreveu: > On Wed, Sep 17, 2014 at 4:38 AM, Frederic Da Vitoria > wrote: > >> 2014-09-17 3:11 GMT+02:00 Flávio Etrusco : >> >>> On Tue, Sep 16, 2014 at 8:09 PM, Philippe 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 [1] 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) > > The mistake was actually mine :-$ I had deleted part of the thread and > didn't realize this was the old thread. > Sorry Phillippe, and sorry for the noise everybody. > > -Flávio > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal [2] Links: -- [1] http://www.freepascal.org/docs-html/ref/refsu58.html#x155-16500013.2.8 [2] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal