[fpc-pascal] TFPGList and objects

2020-05-28 Thread Ryan Joseph via fpc-pascal
Using objects in TFPGList is currently not possible because class operators are not supported in objects. I tried using global scope operators but they don't seem to work. /usr/local/lib/fpc/3.3.1/units/x86_64-darwin/rtl/fgl.ppu:fgl.pp:988:50: error: Operator is not overloaded: "TInvocation" =

Re: [fpc-pascal] Implementing a simple tcp/ip connection

2020-05-28 Thread Graeme Geldenhuys
On 28/05/2020 4:49 pm, Marco van de Voort wrote: > Though in general, I would > just use Indy. +1 Regards, Graeme ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Implementing a simple tcp/ip connection

2020-05-28 Thread Marco van de Voort
Op 2020-05-28 om 17:08 schreef Giuliano Colla: Hi everybody, I needed to implement a simple dedicated TCP/IP connection between a client and a server. Nothing fancy, just sending and receiving short strings. I have used in the past for that purpose the unit Sockets lifting it from

Re: [fpc-pascal] Implementing a simple tcp/ip connection

2020-05-28 Thread Michael Van Canneyt
On Thu, 28 May 2020, Marco van de Voort wrote: Op 2020-05-28 om 17:08 schreef Giuliano Colla: Hi everybody, I needed to implement a simple dedicated TCP/IP connection between a client and a server. Nothing fancy, just sending and receiving short strings. I have used in the past for that

[fpc-pascal] Implementing a simple tcp/ip connection

2020-05-28 Thread Giuliano Colla
Hi everybody, I needed to implement a simple dedicated TCP/IP connection between a client and a server. Nothing fancy, just sending and receiving short strings. I have used in the past for that purpose the unit Sockets lifting it from Delphi/Kylix. This unit was taking advantage of libc, and

Re: [fpc-pascal] TFPGList and objects

2020-05-28 Thread Vojtěch Čihák via fpc-pascal
There is TFPGObjectList for objects.   BTW, is FGL a good choice for generics? Some time ago Marco wrote here that FGL is moreless a technology demonstrator and Generics.Collection or other libraries should be used instead.   Thanks for reply   V.  

Re: [fpc-pascal] TFPGList and objects

2020-05-28 Thread Sven Barth via fpc-pascal
Am 28.05.2020 um 19:36 schrieb Vojtěch Čihák via fpc-pascal: There is TFPGObjectList for objects. Ryan is talking about TP style objects. BTW, is FGL a good choice for generics? Some time ago Marco wrote here that FGL is moreless a technology demonstrator and Generics.Collection or other