[fpc-pascal] IDispatch with Variant is not working on Linux. Why?

2023-10-31 Thread Anthony Walter via fpc-pascal
Is there any reason why the late binding of properties and methods through of IDispatch interface with the Variant type is not working on Linux? I am writing a cross platform embeddable JavaScript toolkit for Free Pascal. I wanted to use IDispatch with variants so that the experience with be more

[fpc-pascal] Creating capturers

2023-10-31 Thread Hairy Pixels via fpc-pascal
I'm curious how the capturer is created in the case of anonymous functions. I know the function needs to create a capturer when nested functions are declared but what happens if there is an anonymous function which is declared in the code section? I think the compiler will only know about the