Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread Sven Barth
Am 26.02.2014 06:36, schrieb silvioprog: 2014-02-25 5:47 GMT-03:00 Sven Barth >: Sorry for fully quoting the message. -.- Regards, Sven No problems guy! :) You might have no problems with it, but there are some list subscribers that do have pro

Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread silvioprog
2014-02-25 5:47 GMT-03:00 Sven Barth : > Am 25.02.2014 09:45, schrieb Sven Barth: > > Am 25.02.2014 00:27, schrieb silvioprog: >> > [snip] > > So, which syntax to use generic and meta class? >>> >> >> What might work (untested) is this: >> >> [snip] > > Sorry for fully quoting the message. -.-

Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread silvioprog
2014-02-25 5:45 GMT-03:00 Sven Barth : [...] > So, which syntax to use generic and meta class? >> > > What might work (untested) is this: > > === code begin === > > type > > generic TMyGeneric = class > public type > TMyGenericClass = class of TMyGeneric; // in mode Delphi this would be >

Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread silvioprog
2014-02-25 5:14 GMT-03:00 Sven Barth : > Am 25.02.2014 00:27, schrieb silvioprog: > >> Hello, >> >> I have this structure: >> >> generic TMyGeneric = class >> end; >> >> TMyGenericClass = class of TMyGeneric; >> > That must not compile. This is a bug. Can you issue it for me friend? I woul

Re: [fpc-pascal] Mail reception order

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 14:45:37 +0100 Frederic Da Vitoria wrote: > Hello, > > It was suggested that we should look at the mail headers when the mails > arrived in a strange order. Here is an example: > > = Mail 1: > Delivered-To: (...)@gmail.com > Received: by 10.140.91.161 with SMTP id z3

Re: [fpc-pascal] fp universal library ?

2014-02-25 Thread Fred van Stappen
Hello everybody. I am extremely happy to announce the birth of the universal uos library version 1.0. uos (United Open-libraries of Sound) unifies the best open-source audio libraries. With uos you can: . Listen to mp3, ogg, wav, flac,... audio files. . With 16, 32 or float 32 bit resolution.

[fpc-pascal] Mail reception order

2014-02-25 Thread Frederic Da Vitoria
Hello, It was suggested that we should look at the mail headers when the mails arrived in a strange order. Here is an example: = Mail 1: Delivered-To: (...)@gmail.com Received: by 10.140.91.161 with SMTP id z30csp56304qgd; Tue, 25 Feb 2014 02:00:33 -0800 (PST) X-Received: by 10.18

Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread Sven Barth
Am 25.02.2014 09:45, schrieb Sven Barth: Am 25.02.2014 00:27, schrieb silvioprog: [snip] So, which syntax to use generic and meta class? What might work (untested) is this: [snip] Sorry for fully quoting the message. -.- Regards, Sven ___ fpc-pa

Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread Sven Barth
Am 25.02.2014 00:27, schrieb silvioprog: Hello, I have this structure: generic TMyGeneric = class end; TMyGenericClass = class of TMyGeneric; TMyType = class end; TMyClass1 = specialize TMyGeneric; TMyClass2 = class(specialize TMyGeneric) end; ... procedure RegisterItem(AI

Re: [fpc-pascal] How to use generics and meta class?

2014-02-25 Thread Sven Barth
Am 25.02.2014 00:27, schrieb silvioprog: Hello, I have this structure: generic TMyGeneric = class end; TMyGenericClass = class of TMyGeneric; That must not compile. This is a bug. TMyType = class end; TMyClass1 = specialize TMyGeneric; TMyClass2 = class(specialize TMyGeneric