Re: [fpc-pascal] Creating capturers

2023-11-03 Thread Hairy Pixels via fpc-pascal
> On Nov 3, 2023, at 8:31 PM, Sven Barth wrote: > > If you need a catch all type, then you should use function references. There > is no need to invent yet another type. > The only thing it can not handle is the assignment of nested function > pointers (in contrast to nested functions

Re: [fpc-pascal] Serial connection via TCP/IP sockets on RPi?

2023-11-03 Thread Bo Berglund via fpc-pascal
On Fri, 03 Nov 2023 17:34:09 +0100, Bo Berglund via fpc-pascal wrote: >So ser2net seems like a logical use given that the RPi3 is already there >connected by wire to the serial line and is available via VPN on the network. I >have just checked (using PuTTY via VPN) that the RPi3 does not yet

Re: [fpc-pascal] Serial connection via TCP/IP sockets on RPi?

2023-11-03 Thread Bo Berglund via fpc-pascal
On Fri, 3 Nov 2023 06:47:30 -0700, Wayne Sherman via fpc-pascal wrote: >Yes, there is software that bridges a serial connection over a >network. On Windows it is often called a "virtual com port" or >"virtual serial port" or "com port redirector". > >Open Source Linux: >ser2net

Re: [fpc-pascal] Serial connection via TCP/IP sockets on RPi?

2023-11-03 Thread Wayne Sherman via fpc-pascal
There is also some good info here: https://gist.github.com/DraTeots/e0c669608466470baa6c ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Serial connection via TCP/IP sockets on RPi?

2023-11-03 Thread Wayne Sherman via fpc-pascal
On Fri, Nov 3, 2023 at 12:56 AM Bo Berglund wrote: > I am wondering if there is already available what I am needing? Yes, there is software that bridges a serial connection over a network. On Windows it is often called a "virtual com port" or "virtual serial port" or "com port redirector". Open

Re: [fpc-pascal] Creating capturers

2023-11-03 Thread Sven Barth via fpc-pascal
Hairy Pixels schrieb am Fr., 3. Nov. 2023, 12:37: > > > > On Nov 3, 2023, at 2:08 PM, Sven Barth > wrote: > > > > By default the purpose of anonymous functions assigned to function > references *is* that they can escape their scope. This will not change, > because they were after all introduced

Re: [fpc-pascal] Creating capturers

2023-11-03 Thread Hairy Pixels via fpc-pascal
> On Nov 3, 2023, at 2:08 PM, Sven Barth wrote: > > By default the purpose of anonymous functions assigned to function references > *is* that they can escape their scope. This will not change, because they > were after all introduced for Delphi-compatibility and there won't be any >

Re: [fpc-pascal] Running FPC in the browser...

2023-11-03 Thread Graeme Geldenhuys via fpc-pascal
On 10/22/23 11:20, Michael Van Canneyt via fpc-pascal wrote: > As a consequence, this means FPC can now be run in a browser. > See the screenshot at Well done to everyone involved. That is amazing, and yes, I can think of many possibilities this could be used for. Regards, - Graeme -

[fpc-pascal] Serial connection via TCP/IP sockets on RPi?

2023-11-03 Thread Bo Berglund via fpc-pascal
I am wondering if there is already available what I am needing? My situation is the following: I have a remote installation of a measuring equipment, which communicates through RS232 to an RPi3 interface unit. On that there is a service that handles the data sent both ways. But it is geared

Re: [fpc-pascal] Creating capturers

2023-11-03 Thread Sven Barth via fpc-pascal
Hairy Pixels schrieb am Fr., 3. Nov. 2023, 02:00: > > > > On Nov 2, 2023, at 1:44 PM, Sven Barth > wrote: > > > > Now for nested as well as anonymous routines the compiler determines > whether a capturer is required at the point that the nested or anonymous > routine is assigned to a function