[fpc-pascal] Common class type

2015-03-20 Thread Torsten Bonde Christiansen
Hi. Is there method in fpc to find the highest common class-type of two derived classes? Regards, Torsten Bonde Christiansen. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-20 Thread Michael Schnell
On 03/20/2015 12:18 AM, Coyo Stormcaller wrote: With a Userspace TCP/IP stack, I can send strange traffic with a raw UDP port. In fact colleagues of mine once in Delphi implemented a TCP - like solution that uses UDP transfer to do secure, especially low overhead transfers via GPRS. So

Re: [fpc-pascal] Mode Delphi and functions as parameters.

2015-03-20 Thread Michael Schnell
On 03/18/2015 03:49 PM, vfclists . wrote: Is passing a function as parameter without the '@' symbol accepted in Delphi? Yep. And to me it looks nicer than using @, even though it is obviously sloppy syntax and introduces an ambiguity (what to to if a function has no parameter and

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-20 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 03/20/2015 12:18 AM, Coyo Stormcaller wrote: With a Userspace TCP/IP stack, I can send strange traffic with a raw UDP port. In fact colleagues of mine once in Delphi implemented a TCP - like solution that uses UDP transfer to do secure, especially low overhead

Re: [fpc-pascal] Common class type

2015-03-20 Thread Howard Page-Clark
On 20/03/2015 07:25, Torsten Bonde Christiansen wrote: Hi. Is there method in fpc to find the highest common class-type of two derived classes? I do not know of such a routine, though there may well be one somewhere. I would have said that the highest common class would always be TObject,

[fpc-pascal] fpHttpClient and Https support ?

2015-03-20 Thread fredvs
Hello. First of all, congratulation for fpHttpClient.pas. It works directly, like charms, without to install any dependencies. = wow. I am able to do internet audio streaming with it, perfect. ;-) Hum, while trying to access Https sites, i get errors. ;-( In begin of fpHttpClient.pas, there is

Re: [fpc-pascal] fpHttpClient and Https support ?

2015-03-20 Thread silvioprog
On Fri, Mar 20, 2015 at 11:54 PM, fredvs fi...@hotmail.com wrote: Hello. First of all, congratulation for fpHttpClient.pas. It works directly, like charms, without to install any dependencies. = wow. I am able to do internet audio streaming with it, perfect. ;-) Hum, while trying to

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread Sven Barth
On 20.03.2015 21:18, vfclists . wrote: On 20 March 2015 at 19:34, Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com wrote: Am 20.03.2015 19:19 schrieb vfclists . vfcli...@gmail.com mailto:vfcli...@gmail.com: On 20 March 2015 at 18:01,

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread vfclists .
On 20 March 2015 at 18:01, leledumbo leledumbo_c...@yahoo.co.id wrote: Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other Write functions, but no 'write' itself those fpc_writeXXX ARE the actual write. Write(Ln)

[fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread vfclists .
Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other Write functions, but no 'write' itself -- Frank Church === http://devblog.brahmancreations.com ___

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread leledumbo
Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other Write functions, but no 'write' itself those fpc_writeXXX ARE the actual write. Write(Ln) is NOT a function as like others whose implementation you can clearly see.

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread Sven Barth
Am 20.03.2015 19:19 schrieb vfclists . vfcli...@gmail.com: On 20 March 2015 at 18:01, leledumbo leledumbo_c...@yahoo.co.id wrote: Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other Write functions, but no

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread vfclists .
On 20 March 2015 at 19:34, Sven Barth pascaldra...@googlemail.com wrote: Am 20.03.2015 19:19 schrieb vfclists . vfcli...@gmail.com: On 20 March 2015 at 18:01, leledumbo leledumbo_c...@yahoo.co.id wrote: Where is the 'write' function defined and how is it different from

Re: [fpc-pascal] PtrInt - possible candidate to be marked as deprecated

2015-03-20 Thread Michael Schnell
On 03/18/2015 05:36 PM, Tony Whyman wrote: TDataEvent = procedure (Data: PtrInt) of object; To me PtrUInt seems more appropriate. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Portable coroutines

2015-03-20 Thread Mark Morgan Lloyd
Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html suggests a way that coroutines can be implemented in a portable fashion in C, how can this be done in Object Pascal? --