Re: [fpc-pascal] "Is nested" vs "of object" compatibility with global functions

2022-05-29 Thread Hairy Pixels via fpc-pascal
> On May 29, 2022, at 2:26 PM, Martin Frb via fpc-pascal > wrote: > > Actually afaik you push an extra param in for "is nested" as well as for "of > object. > > But for "of object" it is the first param, for "is nested" it is the last. So you can cast nested or object to each other and the

Re: [fpc-pascal] "Is nested" vs "of object" compatibility with global functions

2022-05-29 Thread Hairy Pixels via fpc-pascal
> On May 29, 2022, at 2:26 PM, Martin Frb via fpc-pascal > wrote: > > Actually afaik you push an extra param in for "is nested" as well as for "of > object. > > But for "of object" it is the first param, for "is nested" it is the last. Then “references to” is the only universal function

Re: [fpc-pascal] "Is nested" vs "of object" compatibility with global functions

2022-05-29 Thread Martin Frb via fpc-pascal
On 29/05/2022 07:21, Michael Van Canneyt via fpc-pascal wrote: On Sun, 29 May 2022, Hairy Pixels via fpc-pascal wrote: I’ve been testing out all the different function pointer types in FPC to test their compatibility with each other and I noticed that “is nested” can accept a global function

Re: [fpc-pascal] "Is nested" vs "of object" compatibility with global functions

2022-05-28 Thread Michael Van Canneyt via fpc-pascal
On Sun, 29 May 2022, Hairy Pixels via fpc-pascal wrote: I’ve been testing out all the different function pointer types in FPC to test their compatibility with each other and I noticed that “is nested” can accept a global function declaration but “of object” can not. What is the reason for