Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Marco van de Voort via fpc-devel
Op 2021-05-30 om 13:02 schreef Sven Barth via fpc-devel: I think it is allowed to change the result type of the variant passed in binaryop(), but am not 100% sure, and also not sure if there are other things to keep an eye for (e.g. finalization of the existing value). Does anybody know

Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Sven Barth via fpc-devel
Am 30.05.2021 um 11:39 schrieb Don Alfredo via fpc-devel: https://synopse.info/forum/viewtopic.php?id=5894 I'm already working on a fix for this, cause I had seen that thread a few days ago already. It would have been nice however if you had

Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Sven Barth via fpc-devel
Am 30.05.2021 um 00:53 schrieb Marco van de Voort via fpc-devel: Before the 3.2.2 release I looked into mantis 0038496 and now I come back to it. I noticed that custom variants are completely undocumented, is this know (IOW should I file a bug?). What I wanted to look up are the rules for

Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Ondrej Kelle via fpc-devel
chakracore-delphi (experimental/variants branch) also has a custom variant (descendant of TInvokeableVariantType) to wrap javascript values/objects so you can access properties and call methods on javascript objects at runtime (similar to how you can use ActiveX/Automation objects through Variants

Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Don Alfredo via fpc-devel
https://synopse.info/forum/viewtopic.php?id=5894 Op zo 30 mei 2021 10:44 schreef Michael Van Canneyt via fpc-devel < fpc-devel@lists.freepascal.org>: > > > On Sun, 30 May 2021, Marco van de Voort via fpc-devel wrote: > > > Before the 3.2.2 release I looked into mantis 0038496 and now I come > >

Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Michael Van Canneyt via fpc-devel
On Sun, 30 May 2021, Marco van de Voort via fpc-devel wrote: Before the 3.2.2 release I looked into mantis 0038496 and now I come back to it. I noticed that custom variants are completely undocumented, is this know (IOW should I file a bug?). Please do. I am aware of this issue, but it