Re: [fpc-pascal] Get TMethod from function reference

2022-09-19 Thread Sven Barth via fpc-pascal
Hairy Pixels schrieb am So., 18. Sep. 2022, 02:50: > > > > On Sep 17, 2022, at 10:57 PM, Sven Barth > wrote: > > > > === code begin === > > > > type > > TProc = reference to procedure; > > TMyClass = class > > procedure DoThis; > > end; > > > > TCapturer = class(TInterfacedObject, TP

Re: [fpc-pascal] SerReadTimeout question

2022-09-19 Thread Alexey Torgashin via fpc-pascal
I wrote this info to new page https://wiki.freepascal.org/Serial_unit , welcome to add more info there. Alexey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Get TMethod from function reference

2022-09-19 Thread Hairy Pixels via fpc-pascal
> On Sep 19, 2022, at 4:17 PM, Sven Barth wrote: > > === code begin === > > Proc1 := @c.OnChange; > Proc2 := @c.OnClick; > Proc3 := @c2.OnChange; > > === code end === > > Will result in the following capture object: > > === code begin === > > type > TCapturer = class(TInterfacedObject,

Re: [fpc-pascal] SerReadTimeout question

2022-09-19 Thread Christo Crause via fpc-pascal
On Mon, Sep 19, 2022 at 7:51 AM Christo Crause wrote: > > > On Mon, 19 Sep 2022, 03:18 James Richters via fpc-pascal, < > fpc-pascal@lists.freepascal.org> wrote: > >> I can't seem to find any documentation or SerRead or SerReadTimeout.. >> searching for either along with Freepascal doesn't get me