[fpc-pascal] Socket samples besides the bastisoft site?

2007-05-30 Thread Francisco Reyes
Can't find examples for socket programming besides http://www.bastisoft.de/pascal/pasinet.html Does anyone knows of any other samples/links? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-p

Re: [fpc-pascal] Constant members within class

2007-05-30 Thread Marco van de Voort
> Thanks a lot for the prompt response. I 'm a total novice in Object > Pascal. I will have a look to the classes' properties? Yes. Properties can be read-only. Moreover, it is Delphi and FPC compat in all recent, and even not so recent versions. ___

Re: [fpc-pascal] Constant members within class

2007-05-30 Thread Christos Chryssochoidis
Thanks a lot for the prompt response. I 'm a total novice in Object Pascal. I will have a look to the classes' properties… Marco van de Voort wrote: Is there a way to define const members for a class, as for example in TClass = class public const i : integer;// and hopping to b

Re: [fpc-pascal] Constant members within class

2007-05-30 Thread Marco van de Voort
> Is there a way to define const members for a class, as for example in > > TClass = class > public >const i : integer;// and hopping to be able to set it within > the constructor? It's already there taclass = class fi:integer; public

[fpc-pascal] Constant members within class

2007-05-30 Thread Christos Chryssochoidis
Hi, Is there a way to define const members for a class, as for example in TClass = class public const i : integer;// and hopping to be able to set it within the constructor… end; ? Thank you in advance ___ fpc-pasc

Re: [fpc-pascal] serwrite

2007-05-30 Thread Marco van de Voort
> I have written this function where I use serwrite (unit serial). > If I call > > serial.serwrite(prn,pchar(f.bufptr),f.bufPos); > > like this, it puts out garbage. That's odd. It is supposed to write "bufpos" bytes, the first 4 (or 8 on 64-bit) are the exact values of the pointer (p.bufptr

[fpc-pascal] serwrite

2007-05-30 Thread Carsten Bager
I have written this function where I use serwrite (unit serial). If I call serial.serwrite(prn,pchar(f.bufptr),f.bufPos); like this, it puts out garbage. How do I trick the compiler not to "convert a pointer to a pointer"? This works. Function rs232DeviceInout(var f:textRec):integer32; Var

[fpc-pascal] MSEide+MSEgui rev. 1.2rc2 released

2007-05-30 Thread Julio Jiménez Borreguero
Congrats Martin, MSEide+MSEgui is getting better every day. Julio ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal