Re: [fpc-pascal]Gratitude for FPC

2003-02-11 Thread James Mills
On Tue, Feb 11, 2003 at 12:16:50PM -0800, Mark Emerson wrote: > Marco van de Voort wrote: > > Yes, I think Carl did a good job there. > > Wellnot only Carl...I think you ALL (on the FPC team) are doing an > EXCELLENT job. I'm exceedingly grateful to have this compiler, and, as > a bonus, to a

Re: [fpc-pascal]Gratitude for FPC

2003-02-11 Thread Jim Wilson
At 12:16 PM 2/11/2003 -0800, you wrote: Marco van de Voort wrote: > Yes, I think Carl did a good job there. Wellnot only Carl...I think you ALL (on the FPC team) are doing an EXCELLENT job. I'm exceedingly grateful to have this compiler, and, as a bonus, to also have access to communicate wi

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Anton Tichawa
Hello, John! > can also contribute eg a (non OO) FP test unit? if you like. Any ideas > about how to define the 'features' to be tested? Regards John *** procedure define; begin lock; // (?) brainstorm; .. *** well, my first contribution to a brainstorming of features to be tested is - *

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Anton Tichawa
On Tuesday 11 February 2003 15:24, you wrote: > I suggest you check out the tests; it does all you describe. ok. > In no particular order: i long to be a member of the free pascal development team. comments are welcome. are there any rites involved, such as programming a 4d-visualization of t

[fpc-pascal]Gratitude for FPC

2003-02-11 Thread Mark Emerson
Marco van de Voort wrote: > Yes, I think Carl did a good job there. Wellnot only Carl...I think you ALL (on the FPC team) are doing an EXCELLENT job. I'm exceedingly grateful to have this compiler, and, as a bonus, to also have access to communicate with its developers (that was impossible wi

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Marco van de Voort
> On Tue, 11 Feb 2003, Jonas Maebe wrote: > > > > > On dinsdag, feb 11, 2003, at 15:39 Europe/Brussels, Anton Tichawa wrote: > > > > > What about a standard test application that uses every feature of Free > > > Pascal, > > > > Do you want to write that? :) > > > > > compares it's own results to s

RE: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Matt Emson
Before you go and write one, DUnit might fit that bill. I think it's on sourceforge, but will also be somewhere in the JEDI pages too. We just *need* a complete VCL drop in to use it 'as is', but it could be used as a basis for FPCUnit though, I guess. Or at least TPUnit. > What about a standard

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Michael Van Canneyt
On Tue, 11 Feb 2003, Anton Tichawa wrote: > Hello! > > > If you keep it runnnable on windoze and go32v2, I'll help you to test it. I > > Well, the test program I think of needs to: > > 1. create pascal sources and configuration files & write them to disk > > 2. start the compiler and review it's

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Anton Tichawa
Hello! > If you keep it runnnable on windoze and go32v2, I'll help you to test it. I Well, the test program I think of needs to: 1. create pascal sources and configuration files & write them to disk 2. start the compiler and review it's console output 3. start the created application 4. check

RE: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Lee, John
If you keep it runnnable on windoze and go32v2, I'll help you to test it. I can also contribute eg a (non OO) FP test unit? if you like. Any ideas about how to define the 'features' to be tested? Regards John -Original Message- Hello, List! > Do you want to write that? :) If nobody els

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Jonas Maebe
On dinsdag, feb 11, 2003, at 14:06 Europe/Brussels, Michael Van Canneyt wrote: We have a test suite, with about 1000 test programs, which test every aspect of the compiler. Make that "most aspects" :) Jonas ___ fpc-pascal maillist - [EMAIL PROTE

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Michael Van Canneyt
On Tue, 11 Feb 2003, Jonas Maebe wrote: > > On dinsdag, feb 11, 2003, at 15:39 Europe/Brussels, Anton Tichawa wrote: > > > What about a standard test application that uses every feature of Free > > Pascal, > > Do you want to write that? :) > > > compares it's own results to standard results and

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Michael Van Canneyt
On Tue, 11 Feb 2003, Anton Tichawa wrote: > Hello, List! > > > Not really, but it's simply a possibility to introduce bugs into code > > that works correctly. The gain is not really worth it at this time imho. > > What about a standard test application that uses every feature of Free > Pascal, c

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Anton Tichawa
Hello, List! > Do you want to write that? :) If nobody else does, I do. But I'd prefer doing it for linux only. Anton. -- "Adas Methode war, wie sich zeigen wird, Tagträume in offenbar korrekte Berechnungen einzuweben." Doris Langley Moore: Ada, Countess of Lovelace (London 1977).

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Jonas Maebe
On dinsdag, feb 11, 2003, at 15:39 Europe/Brussels, Anton Tichawa wrote: What about a standard test application that uses every feature of Free Pascal, Do you want to write that? :) compares it's own results to standard results and produces a list of newly introduced bugs? We already have

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Anton Tichawa
Hello, List! > Not really, but it's simply a possibility to introduce bugs into code > that works correctly. The gain is not really worth it at this time imho. What about a standard test application that uses every feature of Free Pascal, compares it's own results to standard results and produce

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Jonas Maebe
On dinsdag, feb 11, 2003, at 14:56 Europe/Brussels, Anton Tichawa wrote: It's possible to make range checks inline, but at a first glance it seems to me that this would require reworking of very old (legacy?) parts of the compiler. Not really, but it's simply a possibility to introduce bugs in

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Anton Tichawa
Hello, List! > > Regarding Performance: range checks and especially the array > > access etc. could be inlined, saving an indirect call for every access. > > [Don't know the FPC implementation]. > > Accesses are inlined, range checks are not. It's possible to make range checks inline, but at a fi

Re: [fpc-pascal]isprime()

2003-02-11 Thread astlab
I've revised isprime(), now it is a bit faster. The new version embedded in a small unit can be found at: http://www.polarhome.com/~franco/isprime.pas Franco ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-11 Thread Jonas Maebe
On maandag, feb 10, 2003, at 18:37 Europe/Brussels, Thomas Schatzl wrote: Regarding Performance: range checks and especially the array access etc. could be inlined, saving an indirect call for every access. [Don't know the FPC implementation]. Accesses are inlined, range checks are not. Jona

Re: [fpc-pascal]FPC Problem with reAllocMem...

2003-02-11 Thread Anton Tichawa
Hello, James! You have to allocate memory BEFORE storing data there, i. e. you should change datanick.pas lines about 63 .. 66 from: nicks[nNicks] := TNick.init(nick, hops, signon, ident, host, server, unused, name); {getMem(nicks, sizeOf(TNick) * nNicks);} inc(nNicks); reAllocMem(ni