Re: [fpc-pascal] What happens when assigning interfaces?

2020-07-10 Thread Sven Barth via fpc-pascal
Ryan Joseph via fpc-pascal schrieb am Fr., 10. Juli 2020, 12:04: > > > > On Jul 10, 2020, at 12:31 PM, Sven Barth > wrote: > > > > A lookup is only necessary if you use e.g. "SomeClass as SomeIntf". > > so if I do: > > DoSomething(c as IFoo); > > then Supports() is called at runtime to return th

Re: [fpc-pascal] Writeln() behaves differently on Windows and Linux, why?

2020-07-10 Thread Tomas Hajny
On 2020-07-10 07:45, Bo Berglund via fpc-pascal wrote: On Fri, 10 Jul 2020 01:26:24 +0200, Tomas Hajny wrote: Well I do not believe the problem I am seeing is because of thread safe or not. This test server is just running the main thread (the program itself) where the detection of keyboard en

Re: [fpc-pascal] fpDebug function-call proof-of-concept

2020-07-10 Thread Joost van der Sluis
Op 09-07-2020 om 05:29 schreef Ryan Joseph via fpc-pascal: On Jul 7, 2020, at 8:13 PM, Joost van der Sluis wrote: I am using this plugin: (Please install and give feedback) https://marketplace.visualstudio.com/items?itemName=CNOC.fpdebug Well, actually I wrote it: https://gitlab.freepascal.org

Re: [fpc-pascal] properties // Re: fpDebug function-call proof-of-concept

2020-07-10 Thread Joost van der Sluis
Op 07-07-2020 om 16:25 schreef Martin Frb: On 07/07/2020 15:04, Joost van der Sluis wrote: Op 07-07-2020 om 12:41 schreef Christo Crause via fpc-pascal: Great news! I guess this is a step towards evaluating object properties via get methods? That is the final goal, yes. For this, we will

Re: [fpc-pascal] Copying a file across IP using Free Pascal

2020-07-10 Thread Michael Van Canneyt
On Thu, 9 Jul 2020, Chess wrote: Hello, Is there a Pascal Procedure, Function or Object that can copy a file across an IP Network. I have tried executing scp with TProcess, but that did not work. Strange to hear this. I copy files in this manner all the time as part of building software. W

[fpc-pascal] Copying a file across IP using Free Pascal

2020-07-10 Thread Chess
Hello, Is there a Pascal Procedure, Function or Object that can copy a file across an IP Network. I have tried executing scp with TProcess, but that did not work. Terry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepasc

Re: [fpc-pascal] What happens when assigning interfaces?

2020-07-10 Thread Ryan Joseph via fpc-pascal
> On Jul 10, 2020, at 12:31 PM, Sven Barth wrote: > > A lookup is only necessary if you use e.g. "SomeClass as SomeIntf". so if I do: DoSomething(c as IFoo); then Supports() is called at runtime to return the IFoo interface? That's the kind of thing I was really curious about, when