Re: [fpc-pascal] Are there any drawbacks to "reference to"?

2022-06-06 Thread Bo Berglund via fpc-pascal
On Mon, 6 Jun 2022 08:26:47 +0700, Hairy Pixels via fpc-pascal wrote: >First off I didn’t see Anthony’s original email, just like Sven says he >doesn’t see mine. >What’s going on here? I’m using a Gmail account because my personal domain was >getting >rejected for some reason, is Anthony on G

Re: [fpc-pascal] Are there any drawbacks to "reference to"?

2022-06-06 Thread Hairy Pixels via fpc-pascal
> On Jun 6, 2022, at 8:26 AM, Hairy Pixels wrote: > > I think what the compiler needs to do is internally support a variant record > type and switch to the correct function type at runtime. Something like this: > > TCallback = record > kind: byte; > case byte of > 0: (proc: procedure); > 1: (

Re: [fpc-pascal] Are there any drawbacks to "reference to"?

2022-06-06 Thread Hairy Pixels via fpc-pascal
> On Jun 6, 2022, at 8:26 AM, Hairy Pixels wrote: > > First off I didn’t see Anthony’s original email, just like Sven says he > doesn’t see mine. What’s going on here? I’m using a Gmail account because my > personal domain was getting rejected for some reason, is Anthony on Gmail > also? We