Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Alexandre Leclerc
2007/1/25, Michael Van Canneyt <[EMAIL PROTECTED]>: On Thu, 25 Jan 2007, Alexandre Leclerc wrote: > 2007/1/25, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > > On 1/25/07, Alexandre Leclerc <[EMAIL PROTECTED]> wrote: > > > Yes, I understand that, but I *need* a scripting engine which is ba

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Michael Van Canneyt
On Thu, 25 Jan 2007, Alexandre Leclerc wrote: > 2007/1/25, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > > On 1/25/07, Alexandre Leclerc <[EMAIL PROTECTED]> wrote: > > > Yes, I understand that, but I *need* a scripting engine which is based > > > on Pascal. And ROPS is the only one I found

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Alexandre Leclerc
2007/1/25, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: On 1/25/07, Alexandre Leclerc <[EMAIL PROTECTED]> wrote: > Yes, I understand that, but I *need* a scripting engine which is based > on Pascal. And ROPS is the only one I found that answered my > requirements. Also, it's integrated and it

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Alexandre Leclerc <[EMAIL PROTECTED]> wrote: Yes, I understand that, but I *need* a scripting engine which is based on Pascal. And ROPS is the only one I found that answered my requirements. Also, it's integrated and it's "free", and very fast. If there was another way, I would use i

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Jonas Maebe
On 25 jan 2007, at 16:05, Alexandre Leclerc wrote: I understand that this is not true for the way ROPS has been implemented, but that is a (major) downside of implementing things at such a low level. No approach is without its downsides... Yes, I understand that, but I *need* a scripting engi

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Mattias Gaertner
On Thu, 25 Jan 2007 13:20:37 +0100 (CET) Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > Op Thu, 25 Jan 2007, schreef Mattias Gaertner: > > > On Thu, 25 Jan 2007 12:10:44 +0100 (CET) > > Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Op Thu, 25 Jan 2007, schreef Mattias Ga

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Mattias Gaertner
On Thu, 25 Jan 2007 14:38:04 +0100 Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Mattias Gaertner schrieb: > > How to set a double to NAN (not a number)? > > I only found a IsNAN in the math unit. > > Then you should search more ;) Acutally there is NaN You are right. Sorry, probably a typo in t

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Alexandre Leclerc
2007/1/25, Jonas Maebe <[EMAIL PROTECTED]>: On 25 jan 2007, at 14:44, Alexandre Leclerc wrote: > Are there plans to set the param-stack the same order as Delphi or > will the actual code always stay like that? There are plans to change it to be Delphi compatible. > (I ask, because from differ

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Michel Meunier
Bisma Jayadi a écrit : Absolutly NO, but my problem is to have a reliable compiler to work properly, not to run after strange problems. It's completely non sense to blame your compiler before do some deep investigations upon your problem. Many people have used FPC to build dynamic libraries w

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Jonas Maebe
On 25 jan 2007, at 14:44, Alexandre Leclerc wrote: Are there plans to set the param-stack the same order as Delphi or will the actual code always stay like that? There are plans to change it to be Delphi compatible. (I ask, because from different FPC release, ROPS always react differently.

Re: [fpc-pascal] About FPC calling register like Delphi

2007-01-25 Thread Alexandre Leclerc
I did try a latest version and I think there was no changes on that. (?) Are there plans to set the param-stack the same order as Delphi or will the actual code always stay like that? (I ask, because from different FPC release, ROPS always react differently. So I know some things are changing in

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Florian Klaempfl
Mattias Gaertner schrieb: > How to set a double to NAN (not a number)? > I only found a IsNAN in the math unit. Then you should search more ;) Acutally there is NaN ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/m

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Daniël Mantione
Op Thu, 25 Jan 2007, schreef Mattias Gaertner: > On Thu, 25 Jan 2007 12:10:44 +0100 (CET) > Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > > > > > Op Thu, 25 Jan 2007, schreef Mattias Gaertner: > > > > > How to set a double to NAN (not a number)? > > > I only found a IsNAN in the math unit

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Marco van de Voort
> On Thu, 25 Jan 2007 12:51:06 +0100 (CET) > [EMAIL PROTECTED] (Marco van de Voort) wrote: > > Also check the "typ" unit of numlib (in packages) > > Thanks. > > const > NANDoubleArray : ARRAY[0..7] OF BYTE = ($FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF); > var > nan : double absolute NANDoubleArray; (n

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Mattias Gaertner
On Thu, 25 Jan 2007 12:51:06 +0100 (CET) [EMAIL PROTECTED] (Marco van de Voort) wrote: > > > > How to set a double to NAN (not a number)? > > > > I only found a IsNAN in the math unit. > > > > > > const nan=0/0; > > > > unit1.pas(28,10) Error: Division by zero > > Afaik that is delphi mode only

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Marco van de Voort
> > > How to set a double to NAN (not a number)? > > > I only found a IsNAN in the math unit. > > > > const nan=0/0; > > unit1.pas(28,10) Error: Division by zero Afaik that is delphi mode only. Also check the "typ" unit of numlib (in packages) ___ fpc-

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Mattias Gaertner
On Thu, 25 Jan 2007 12:10:44 +0100 (CET) Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > Op Thu, 25 Jan 2007, schreef Mattias Gaertner: > > > How to set a double to NAN (not a number)? > > I only found a IsNAN in the math unit. > > const nan=0/0; unit1.pas(28,10) Error: Division by zero Ma

[fpc-pascal] Garbled messages in daily digest

2007-01-25 Thread Jeff Pohlmeyer
It looks like the mailing list archives (and daily digest) don't like some messages: http://lists.freepascal.org/lists/fpc-pascal/2007-January/013070.html - Jeff ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/ma

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: As you discovered, it was not the case: -gl is also debug info. This is a known problem, and is already in the bugtracker if I remember correctly. Strangly, it works here with -gl set. -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] NAN for double

2007-01-25 Thread Daniël Mantione
Op Thu, 25 Jan 2007, schreef Mattias Gaertner: > How to set a double to NAN (not a number)? > I only found a IsNAN in the math unit. const nan=0/0; Daniël___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/

[fpc-pascal] NAN for double

2007-01-25 Thread Mattias Gaertner
How to set a double to NAN (not a number)? I only found a IsNAN in the math unit. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Bisma Jayadi
Absolutly NO, but my problem is to have a reliable compiler to work properly, not to run after strange problems. It's completely non sense to blame your compiler before do some deep investigations upon your problem. Many people have used FPC to build dynamic libraries without problems and work

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Michael Van Canneyt
On Thu, 25 Jan 2007, Michel Meunier wrote: > Michael Van Canneyt a écrit : > > On Wed, 24 Jan 2007, Michel Meunier wrote: > > > > > > > Michael Van Canneyt a écrit : > > > > > > > On Wed, 24 Jan 2007, Michel Meunier wrote: > > > > > > > > [cut code] > > > > > > > > > > > > > xx

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Michel Meunier
Michael Van Canneyt a écrit : On Wed, 24 Jan 2007, Michel Meunier wrote: Michael Van Canneyt a écrit : On Wed, 24 Jan 2007, Michel Meunier wrote: [cut code] xxx and IT DOESN'T WORK, why? It is exactly the same code! Mo