Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-17 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, Recently I learned that you can have writeable typed constants. That sounds rather like an oxymoron to my. Writeable constants make no sense, is that then simply a variable? What is the use of a writeable typed constant? Backwards compatibility with turbo pascal

[fpc-pascal] Writeable typed constants - what's the point?

2009-06-17 Thread Graeme Geldenhuys
Hi, Recently I learned that you can have writeable typed constants. That sounds rather like an oxymoron to my. Writeable constants make no sense, is that then simply a variable? What is the use of a writeable typed constant? Below is two examples of how they can be used, and support for them are

[fpc-pascal] Rounding a Double to QWord

2009-06-17 Thread Inoussa OUEDRAOGO
Hi Is there a way to round a floating point (Double) value that is larger that High(Int64) to QWord ? Note that Round() returns a Int64. Best regards. -- Inoussa O. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] switch units depending on OS and lib version

2009-06-17 Thread Marc Santhoff
Am Dienstag, den 16.06.2009, 20:47 -0700 schrieb leledumbo: > You've known the answer, use include files! The compiler information (i.e. > target platform) can be obtained via fpc -iXXX (see fpc -h for XXX values). > Use that value in a script (i.e. Makefiles) to subtitute directory names. > That's

Re: Re: [fpc-pascal] Assembly error during compile

2009-06-17 Thread brentbrown1
JonasThank you again.  I will go to the Apple site.BrentOn Jun 17, 2009, Jonas Maebe wrote: On 17 Jun 2009, at 00:59, brentbro...@verizon.net wrote:> On Jun 16, 2009, Jonas Maebe wrote:>> On 16 Jun 2009, at 19:57, brentbro...@verizon.net wrote:>> > I recently installed

Re: [fpc-pascal] FastMM4 revised.

2009-06-17 Thread Torsten Bonde Christiansen
Werner Bochtler wrote: If there is any interest, I could provide a patched (but not thoroughly testet!) version 4.92 which is based on extensions originally made by Adrian Veith for version 4.46. Additionally my patched version also contains some modifications to make FastMM PIC-safe. As mention

Re: [fpc-pascal] FastMM4 revised.

2009-06-17 Thread Werner Bochtler
Joost van der Sluis schrieb: > Op woensdag 17-06-2009 om 13:46 uur [tijdzone +0200], schreef Torsten > Bonde Christiansen: >> Hi. >> >> I found in the fpc-pascal archive a short thread on someone converting >> FastMM4 to FPC. >> >> Does anyone know if this succeeded or if the curret (4.92) version

Re: [fpc-pascal] FastMM4 revised.

2009-06-17 Thread Joost van der Sluis
Op woensdag 17-06-2009 om 13:46 uur [tijdzone +0200], schreef Torsten Bonde Christiansen: > Hi. > > I found in the fpc-pascal archive a short thread on someone converting > FastMM4 to FPC. > > Does anyone know if this succeeded or if the curret (4.92) version of > FastMM4 can be used with fpc?

[fpc-pascal] FastMM4 revised.

2009-06-17 Thread Torsten Bonde Christiansen
Hi. I found in the fpc-pascal archive a short thread on someone converting FastMM4 to FPC. Does anyone know if this succeeded or if the curret (4.92) version of FastMM4 can be used with fpc? Regards, Torsten Bonde Christiansen. ___ fpc-pascal mail

Re: [fpc-pascal] Assembly error during compile

2009-06-17 Thread Jonas Maebe
On 17 Jun 2009, at 00:59, brentbro...@verizon.net wrote: On Jun 16, 2009, Jonas Maebe wrote: On 16 Jun 2009, at 19:57, brentbro...@verizon.net wrote: > I recently installed v 2.2.4 of xcode and the pascal compiler on a > mac w/ OS X.5. During compile of the "hello world" program I got > the f