On 20/08/2013 02:44, Xiangrong Fang wrote:
Hi All,
I am reading this document:
http://www.freepascal.org/docs-html/ref/refsu29.html and doing an
experiment with the following code:
program project1;
{$mode objfpc}{$H+}
type
TBase = class
constructor Create; virtual;
end;
TDerived
Thanks. Do you mean that the rules I see in the document apply to NORMAL
virtual methods, but not virtual constructors?
Also, I have a related question: it seems that to override methods in
ancestor it is required that the method has same signature, however
reintroduce will not have such
On 20/08/2013 07:32, Xiangrong Fang wrote:
Thanks. Do you mean that the rules I see in the document apply to
NORMAL virtual methods, but not virtual constructors?
They apply to constructors too. But...
A virtual/overridden method is looked up based on the class used in code
TDerived.create;
On 20/08/2013 07:32, Xiangrong Fang wrote:
Thanks. Do you mean that the rules I see in the document apply to
NORMAL virtual methods, but not virtual constructors?
for all the rest, you should look for a tutorial.
it is to complex for the mailing list
Le 20/08/2013 07:34, Xiangrong Fang a
crit:
Hi Flavio,
Your findings confirmed mine, but not telling me why? It
seems that the "virtual" keyword has no use at all! To
confirm this, I just removed the
On Tue, Aug 20, 2013 at 2:34 AM, Xiangrong Fang xrf...@gmail.com wrote:
Hi Flavio,
Your findings confirmed mine, but not telling me why?
I don't know why, maybe FPC used to be more strict about the use of
inherited, or the docs are simply wrong.
It seems that the virtual keyword has no use
Am 20.08.2013 09:36 schrieb Antonio Fortuny a.fort...@sitasoftware.lu:
Le 20/08/2013 07:34, Xiangrong Fang a écrit :
Hi Flavio,
Your findings confirmed mine, but not telling me why? It seems that the
virtual keyword has no use at all! To confirm this, I just removed the
inherited call in
Am 20.08.2013 13:22 schrieb Osvaldo Filho arquivos...@gmail.com:
a check, please, what check?
An if-clause inside the compiler was added by the revision mentioned by
Flávio which now results in that internalerror.
Did you try to completely rebuild all packages with the updated 2.7.1
compiler?
Le 20/08/2013 14:34, Sven Barth a
crit:
This is not same as the description in: http://www.freepascal.org/docs-html/ref/refsu26.html
BTW, the above documents are talking about objects, but
I am using classes, is there any
Am 20.08.2013 14:39 schrieb Antonio Fortuny a.fort...@sitasoftware.lu:
Le 20/08/2013 14:34, Sven Barth a écrit :
This is not same as the description in:
http://www.freepascal.org/docs-html/ref/refsu26.html
BTW, the above documents are talking about objects, but I am using
classes, is
On 20 Aug 2013, at 14:38, Sven Barth wrote:
Am 20.08.2013 13:22 schrieb Osvaldo Filho arquivos...@gmail.com:
a check, please, what check?
An if-clause inside the compiler was added by the revision mentioned
by
Flávio which now results in that internalerror.
Did you try to completely
Hi Sven,
Thank you for comment :) I am interested in a high level description of
how these concepts (virtual / reintroduce / overloading) differs and how
they affect programming, and I am currently not running into trouble, just
try to get a better understanding of the language.
I'll explain
How can i get version 2.6.3 with svn?
Is this in: http://svn.freepascal.org/svn/fpc/branches/fixes_2_6 ?
Thanks.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 20/08/2013 17:09, Osvaldo Filho wrote:
How can i get version 2.6.3 with svn?
Is this in: http://svn.freepascal.org/svn/fpc/branches/fixes_2_6 ?
Yes, that looks good.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 20.08.2013 15:39, Xiangrong Fang wrote:
1) I didn't notice that my question are related to modes of fpc, i.e.
turbo-pascal/delphi/objfpc.If they are different, I would like to
know more details, and I am more interested in objfpc mode, not those
compatibility modes.
It has nothing to
I am trying to compile some of the aggpas examples included with
lazarus, but I am getting errors upon errors.
I have also tried compiling examples against the aggpas sources as
downloaded from the aggpas website, outside lazarus, and again, errors
and more errors.
Is there a recommended
On Tue, 20 Aug 2013 14:11:31 -0700
David Emerson dle...@angelbase.com wrote:
I am trying to compile some of the aggpas examples included with
lazarus, but I am getting errors upon errors.
I have also tried compiling examples against the aggpas sources as
downloaded from the aggpas
On 08/20/2013 04:11 PM, David Emerson wrote:
I am trying to compile some of the aggpas examples included with
lazarus, but I am getting errors upon errors.
I have also tried compiling examples against the aggpas sources as
downloaded from the aggpas website, outside lazarus, and again, errors
I have also tried compiling examples against the aggpas sources as
downloaded from the aggpas website, outside lazarus, and again, errors
and more errors.
Start by naming one error.
Thanks very much for your encouragement Matthias!
I managed to resolve everything by moving the $include
On 8/20/2013 17:11, David Emerson wrote:
I am trying to compile some of the aggpas examples included with lazarus, but I
am getting errors upon errors.
the first thing is what errors? we do appreciate your confidence in our
telepathic and remote viewing abilities but some things just cannot
On 8/20/2013 23:16, waldo kitty wrote:
the first thing is what errors? we do appreciate your confidence in our
telepathic and remote viewing abilities but some things just cannot be handled
in either of these manners ;)
damned fingers... i didn't get a chance to add the requisite [humor] tags
21 matches
Mail list logo