On 18.09.2013 10:51, Dennis Poon wrote:
Sven,
I am still using fpc 2.6.2.
May I know whether the generics bugs for 2.6.2 are catchable at compiler
times or I only get to find out at run time?
I'm currently not aware of any runtime bugs so all should be noticable
by the compiler complaining ab
Sven,
I am still using fpc 2.6.2.
May I know whether the generics bugs for 2.6.2 are catchable at compiler
times or I only get to find out at run time?
Dennis
Sven Barth wrote:
On 17.09.2013 17:39, Dennis Poon wrote:
Sven,
Thanks a lot. It worked.
Generics, advanced record, customized ope
On 17.09.2013 17:39, Dennis Poon wrote:
Sven,
Thanks a lot. It worked.
Generics, advanced record, customized operator ... all these new
features are so cool.
I am impressed that Free Pascal has become so powerful.
At least generics and operator overloads aren't that new. What's new is
that g
Sven,
Thanks a lot. It worked.
Generics, advanced record, customized operator ... all these new
features are so cool.
I am impressed that Free Pascal has become so powerful.
Dennis
uses fgl;
Type
RScene=record
ID : Word;
Name, Category : String;
end;
TSceneList=special
On 17.09.2013 14:52, Dennis Poon wrote:
I have this:
uses fgl;
Type
RScene=record
ID : Word;
Name, Category : String;
end;
TSceneList=specialize TFPGList;
The error is: Operator is not overloaded: "RScene" = "RScene"
I suppose the generic thing does not know how to compa
I have this:
uses fgl;
Type
RScene=record
ID : Word;
Name, Category : String;
end;
TSceneList=specialize TFPGList;
The error is: Operator is not overloaded: "RScene" = "RScene"
I suppose the generic thing does not know how to compare 2 records.
How do I solve that?
Dennis
___