Re: [fpc-pascal] Gnu Scientific Library

2008-03-31 Thread Marco van de Voort
> What would I need to do if I want to use portions of the GSL? Are > there headers written for fpc for this? > > I looked through JEDI-Math but my understanding is that the license > for the majority of the routines is MPL and not compatible with GPL. Afaik Jedi-Math and SDL are dual licensed t

Re[2]: [fpc-pascal] connection problem

2008-03-31 Thread JoshyFun
Hello Marc, Monday, March 31, 2008, 11:46:17 PM, you wrote: MW> We used to have port 8080 for this on svn. Don't know if this got MW> reinstalled after the last change. No 8080 connectable from my location :( Anyway the transparent proxy will handle the 8080 and 80 ports in the same way... quite

[fpc-pascal] Gnu Scientific Library

2008-03-31 Thread Matt Henley
What would I need to do if I want to use portions of the GSL? Are there headers written for fpc for this? I looked through JEDI-Math but my understanding is that the license for the majority of the routines is MPL and not compatible with GPL. Thanks Matt _

Re: [fpc-pascal] connection problem

2008-03-31 Thread Marc Weustink
JoshyFun wrote: Hello Jesus, Saturday, March 29, 2008, 7:19:34 PM, you wrote: JRA> For fpc repository I use JRA> http://svn.freepascal.org/svn/fpc/trunk and it JRA> doesn't work anyway, I don't get the PROPFIND problem though, after I type JRA> svn update, the command doesn't do anything. Fr

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Le Mar 31, 2008 à 10:06 PM, Damien Gerard a écrit : Le Mar 31, 2008 à 6:36 PM, Micha Nelissen a écrit : Damien Gerard wrote: I tried to use an Interface but I had a nice Segementation fault :) Should I report it as a bug in the mantis ? Actually there is the same error with an intermedia

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Le Mar 31, 2008 à 6:36 PM, Micha Nelissen a écrit : Damien Gerard wrote: I tried to use an Interface but I had a nice Segementation fault :) Should I report it as a bug in the mantis ? Actually there is the same error with an intermediate class :( Segmentation faults in the compiler itse

Re: [fpc-pascal] Generics

2008-03-31 Thread Micha Nelissen
Damien Gerard wrote: >> I tried to use an Interface but I had a nice Segementation fault :) >> >> Should I report it as a bug in the mantis ? >> >> > > Actually there is the same error with an intermediate class :( Segmentation faults in the compiler itself can/should always be reported. Thanks.

Re: [fpc-pascal] Generics

2008-03-31 Thread Micha Nelissen
Damien Gerard wrote: > Oki I understand. > I tried to use an Interface but I had a nice Segementation fault :) I'm not sure how FParent.ItemByDefault is going to work? Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepa

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Oki I understand. I tried to use an Interface but I had a nice Segementation fault :) Should I report it as a bug in the mantis ? Actually there is the same error with an intermediate class :( -- Damien Gerard [EMAIL PROTECTED] "Intelligence is 10 million rules." -- Douglas Lenat

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Le Mar 31, 2008 à 6:03 PM, Peter Vreman a écrit : I would like to make a generic class, like this : {$mode objfpc} generic TMCollection<_T> = class(TObject) private FDefaultItem: _T; // line 35 public constructor Create; destructor Destroy;override; [...] end; But I have got the followi

Re: [fpc-pascal] Generics

2008-03-31 Thread Peter Vreman
I would like to make a generic class, like this : {$mode objfpc} generic TMCollection<_T> = class(TObject) private FDefaultItem: _T; // line 35 public constructor Create; destructor Destroy;override; [...] end; But I have got the following : commons.pas(35,21) Error: Identifier not fo

Re: [fpc-pascal] Generics

2008-03-31 Thread Marco van de Voort
> Le Mar 31, 2008 ? 3:00 PM, Damien Gerard a ?crit : > > I forgot : fpc 2.2.0 and fpc 2.2.1. May be I should upgrade to 2.3.x ? Afaik you need 2.3.x. A recent one (of this year). ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.f

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Le Mar 31, 2008 à 3:59 PM, ik a écrit : Can you create a small proof of concept, and attach it here ? Here you are. The unit is in development so it may remain some errors (I would like to convert another units with the use of generics). BTW, is there a way to specifiy the template parame

Re: [fpc-pascal] Generics

2008-03-31 Thread ik
Can you create a small proof of concept, and attach it here ? Ido On Mon, Mar 31, 2008 at 4:27 PM, Damien Gerard <[EMAIL PROTECTED]> wrote: > > Le Mar 31, 2008 à 3:00 PM, Damien Gerard a écrit : > > > > > I would like to make a generic class, like this : > > > > {$mode objfpc} > > > > gener

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Le Mar 31, 2008 à 3:00 PM, Damien Gerard a écrit : I would like to make a generic class, like this : {$mode objfpc} generic TMCollection<_T> = class(TObject) private FDefaultItem: _T; // line 35 public constructor Create; destructor Destroy;override; [...] end; But I have got t

Re: [fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
Le Mar 31, 2008 à 3:20 PM, ik a écrit : After you define the generic you must first create a type for it: type TMyMcollection = specialize TMCollection; Sorry but it did not change anything. Additionally, I would prefer to define the specialization in another unit. And use the TMyMcolle

Re: [fpc-pascal] Generics

2008-03-31 Thread ik
After you define the generic you must first create a type for it: type TMyMcollection = specialize TMCollection; And use the TMyMcollection. It seems like hard work, but it is much better then the way it look on a bad C++ and Java code :) Ido On Mon, Mar 31, 2008 at 4:00 PM, Damien Gerard <[EMA

[fpc-pascal] Generics

2008-03-31 Thread Damien Gerard
I would like to make a generic class, like this : {$mode objfpc} generic TMCollection<_T> = class(TObject) private FDefaultItem: _T; // line 35 public constructor Create; destructor Destroy;override; [...] end; But I have got the following : commons.pas(35,21) Error: Identifi

Re: [fpc-pascal] Search engine in Pascal

2008-03-31 Thread Michael Van Canneyt
On Mon, 31 Mar 2008, Jilani Khaldi wrote: > > There is, IODA: > > > > http://ioda.sourceforge.net/ > I compiled it from source and installed it. Trying it with a little example I > couldn't get it working and the error message is written in german. I don't > know german. So could you please tr

Re: [fpc-pascal] Search engine in Pascal

2008-03-31 Thread Jilani Khaldi
There is, IODA: http://ioda.sourceforge.net/ I compiled it from source and installed it. Trying it with a little example I couldn't get it working and the error message is written in german. I don't know german. So could you please translate errors messages in english? Thank you. I think (!?)

Re: [fpc-pascal] Search engine in Pascal

2008-03-31 Thread Michael Van Canneyt
On Mon, 31 Mar 2008, Jilani Khaldi wrote: > Hi All, > I am looking for a free search engine in Pascal for a small web site. > Any point? There is, IODA: http://ioda.sourceforge.net/ Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.o

[fpc-pascal] Search engine in Pascal

2008-03-31 Thread Jilani Khaldi
Hi All, I am looking for a free search engine in Pascal for a small web site. Any point? Thanks! JK ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal