[fpc-pascal] Standby socket servers?

2007-06-01 Thread Francisco Reyes
After reading the socket samples at http://www.bastisoft.de/pascal/pasinet.html I am starting to get the basics of socket programming. The one thing I don't see in that page is how one would have standby servers. In other words I would like my server program to have some N number of daemons

Re: [fpc-pascal] Bugs in 2.1.4 ?

2007-06-01 Thread Christos Chryssochoidis
Certainly the first one was a silly mistake of mine. The function was a method and the variable was a class field. As for the second I'm not so certain. It really gave me errors when I compiled it at first. As I have deleted this fragment now, I can't check wether It had any { } inside it, bu

Re: [fpc-pascal] Bugs in 2.1.4 ?

2007-06-01 Thread Flávio Etrusco
I'm not sure if the following are bugs of 2.1.4: I'm not sure either ;-) But since these seem too absurd to be true, just make sure: 1) A variable used in the body of a function that I defined, while it is not defined in the function's var part, the file compiles successfully. - you're not

Re: [fpc-pascal] using float emulation

2007-06-01 Thread Marc Santhoff
Am Freitag, den 01.06.2007, 21:26 +0200 schrieb Daniël Mantione: > > Op Fri, 1 Jun 2007, schreef Marc Santhoff: > > > Am Freitag, den 01.06.2007, 20:58 +0200 schrieb Daniël Mantione: > > > > > > Op Fri, 1 Jun 2007, schreef Marc Santhoff: > > > > > > > Hi, > > > > > > > > I'm trying to force fp

Re: [fpc-pascal] using float emulation

2007-06-01 Thread Daniël Mantione
Op Fri, 1 Jun 2007, schreef Marc Santhoff: > Am Freitag, den 01.06.2007, 20:58 +0200 schrieb Daniël Mantione: > > > > Op Fri, 1 Jun 2007, schreef Marc Santhoff: > > > > > Hi, > > > > > > I'm trying to force fpc to use emulation code for floating poing > > > calculations on i386 hardware. > >

Re: [fpc-pascal] using float emulation

2007-06-01 Thread Marc Santhoff
Am Freitag, den 01.06.2007, 20:58 +0200 schrieb Daniël Mantione: > > Op Fri, 1 Jun 2007, schreef Marc Santhoff: > > > Hi, > > > > I'm trying to force fpc to use emulation code for floating poing > > calculations on i386 hardware. > > > > $ fpc -al -st -Op1 -CfSOFT floattest.pp > > > > Viewn fr

[fpc-pascal] Bugs in 2.1.4 ?

2007-06-01 Thread Christos Chryssochoidis
I'm not sure if the following are bugs of 2.1.4: 1) A variable used in the body of a function that I defined, while it is not defined in the function's var part, the file compiles successfully. 2) The compiler reports error when a code fragment is commented out with { }, while if I remov

Re: [fpc-pascal] using float emulation

2007-06-01 Thread Daniël Mantione
Op Fri, 1 Jun 2007, schreef Marc Santhoff: > Hi, > > I'm trying to force fpc to use emulation code for floating poing > calculations on i386 hardware. > > $ fpc -al -st -Op1 -CfSOFT floattest.pp > > Viewn from the assembler source the file is identical to one compiled > without target options

[fpc-pascal] using float emulation

2007-06-01 Thread Marc Santhoff
Hi, I'm trying to force fpc to use emulation code for floating poing calculations on i386 hardware. $ fpc -al -st -Op1 -CfSOFT floattest.pp Viewn from the assembler source the file is identical to one compiled without target options and the link script does not show the inclusion of something sp

Re: [fpc-pascal] Timers in FPC

2007-06-01 Thread Michael Van Canneyt
On Fri, 1 Jun 2007, Flávio Etrusco wrote: > BTW, while I'm still somewhat on-topic (but quite lazy ;-) , is there > a high-resolution timer in FCL? If not, what about including Martin > Waldenburg's qmwfasttime? Shall I file a request in Mantis? Don't bother, because it will not be included, as

Re: [fpc-pascal] Timers in FPC

2007-06-01 Thread Vincent Snijders
Flávio Etrusco schreef: BTW, while I'm still somewhat on-topic (but quite lazy ;-) , is there a high-resolution timer in FCL? If not, what about including Martin Waldenburg's qmwfasttime? Shall I file a request in Mantis? Also take a look at: http://wiki.lazarus.freepascal.org/EpikTimer Vinc

Re: [fpc-pascal] Timers in FPC

2007-06-01 Thread Flávio Etrusco
BTW, while I'm still somewhat on-topic (but quite lazy ;-) , is there a high-resolution timer in FCL? If not, what about including Martin Waldenburg's qmwfasttime? Shall I file a request in Mantis? Best regards, Flávio ___ fpc-pascal maillist - fpc-p

[fpc-pascal] A Thread Manager demo

2007-06-01 Thread Graeme Geldenhuys
Hi, [ I first posted this to the Lazarus mailing list, but I think my questions are actually more related to FPC itself. I apologize for the cross posting in advance. ] I'm busy writing a Thread Manager demo in FPC & Lazarus to help me understanding threads better. This demo will then serve as

Re: [fpc-pascal] Timers in FPC

2007-06-01 Thread Rick Seiden
There's a contributed units link on the freepascal.org home page. Perhaps it could go there. Right under it is a Contribute link that allows you to add it to the contributed units database. I know this i

Re: [fpc-pascal] Constant members within class

2007-06-01 Thread Christos Chryssochoidis
On 5/31/07, Matt Emson <[EMAIL PROTECTED]> wrote: >taclass = class > fi:integer; > public > property i write fi; > end; Not to pick on little details, but shouldn't that be: property i: interger read fi; as the OP wanted a read only member? What you gave them was write on