On 15/09/2014 09:43, Reinier Olislagers wrote:
Mantis issue
http://mantis.freepascal.org/view.php?id=26723
Test case and patch attached to bugtracker issue.
Thanks,
Reinier
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
2014-09-14 16:23 GMT+02:00 Mark Morgan Lloyd
markmll.fpc-pas...@telemetry.co.uk:
I'd be far happier if there were provision for declaring a temporary
shortcut symbol:
with shortcut: TSomething= TreeRoot.SubDirs[Low(TreeRoot.SubDirs)]^ do
begin
shortcut.DirLogged := true;
could the compiler avoid with pitfalls?
now the compiler attach
a property to the closest with where it finds it.
the compiler could
check if the property appears in another with of the with stack and
produce a message (hint, warning or error, which may be configurated).
is not it a way
2014-09-16 12:26 GMT+02:00 Philippe phili...@quarta.com.br:
Em 16.09.2014 05:44, Frederic Da Vitoria escreveu:
2014-09-14 16:23 GMT+02:00 Mark Morgan Lloyd
markmll.fpc-pas...@telemetry.co.uk:
I'd be far happier if there were provision for declaring a temporary
shortcut symbol:
with
On Tue, 16 Sep 2014 07:26:24 -0300
Philippe phili...@quarta.com.br wrote:
could the compiler avoid with pitfalls?
now the compiler attach
a property to the closest with where it finds it.
the compiler could
check if the property appears in another with of the with stack and
2014-09-16 12:36 GMT+02:00 Frederic Da Vitoria davito...@gmail.com:
2014-09-16 12:26 GMT+02:00 Philippe phili...@quarta.com.br:
Em 16.09.2014 05:44, Frederic Da Vitoria escreveu:
2014-09-14 16:23 GMT+02:00 Mark Morgan Lloyd
markmll.fpc-pas...@telemetry.co.uk:
I'd be far happier if
Il 16/09/2014 12:26, Philippe ha scritto:
could the compiler avoid with pitfalls?
The with construct can be very handy, but should be used with caution,
like a lot of other constructs, declarations, etc. E.g. for symbols
present with the same name in different units, depending on the
Am 16.09.2014 12:37 schrieb Mattias Gaertner nc-gaert...@netcologne.de:
On Tue, 16 Sep 2014 07:26:24 -0300
Philippe phili...@quarta.com.br wrote:
could the compiler avoid with pitfalls?
now the compiler attach
a property to the closest with where it finds it.
the compiler could
2014-09-16 14:42 GMT+02:00 Sven Barth pascaldra...@googlemail.com:
Am 16.09.2014 12:37 schrieb Mattias Gaertner nc-gaert...@netcologne.de
:
On Tue, 16 Sep 2014 07:26:24 -0300
Philippe phili...@quarta.com.br wrote:
could the compiler avoid with pitfalls?
now the compiler
I imagine that who really want to get rid from the hint ... don´t
use Pascal anyway! or do have strong test tools!!!
one point is that
(many?) people use with ... and compiler can make it safer. may be as
described Frederic Da Vitoria ... producing error when may be confused.
(but let
Hi there,
I would like to know the maximum number of seconds EpikTimer can count. I
put a program running for over 24 hours, but epiktimer told me only about
less than 2000 seconds passed, when I click the finish button.
Thanks.
Xiangrong
___
On 09/16/2014 03:41 PM, Philippe wrote:
I imagine that who really want to get rid from the hint ... don´t use
Pascal anyway! or do have strong test tools!!!
one point is that (many?) people use with ... and compiler can make
it safer. may be as described Frederic Da Vitoria ... producing
On Mon, Sep 15, 2014 at 2:55 AM, Sven Barth pascaldra...@googlemail.com wrote:
On 14.09.2014 18:05, Philippe wrote:
Take this example:
=== code begin ===
(...)
procedure TestWith;
var
p: PTest;
begin
New(p);
with p^ do begin
Prop1 := 42;
Prop2 := 21;
end;
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
On Tue, Sep 16, 2014 at 8:09 PM, Philippe phili...@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
Hello all,
I Know two templating engines for Freepascal: FPTemplate e JTemplate.
Both can be successfully used for html construction.
But they presents the same aspect: only searches and replaces tags to values.
Of course, it's crucial. But to show html grids, obtained from
database queries, it
16 matches
Mail list logo