-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run Event in PascalScript? #230
Comments
? of object ?
|
I made the change and the same problem. |
I have no problems. Not enough information to analyze. Need a complete example, IDE version... |
Hello, I'm using Delphi 10.3 Community Edition |
Working fine when correct your code: Un_Evento.pas Un_Principal.pas
|
My problem is in the Script. Perhaps I am not able to explain my problem correctly, because my English is weak. When I run "Run script" In this link I uploaded an exe of this example. If you click on "Run Script" the ABC method is not triggered. |
@pult thanks for the concern brother. I cloned your sources and tested it. Did not work. Clicking the "Executar Script" button nothing happens. Send me your compiled executable for testing. |
binary (xe3, dx10.3, dx10.4 x86, x64 ) and full sources with thirdparty... |
Hello friend, it looks like I'm getting close to the solution! Your executables worked! I replaced the "rps" fonts in my source "... \ pascalscript \ Source" and recompiled my system and it worked! Now my question was, what is different about your sources that you don't have in the main repository? Or rather, what are the sources with the thirdparty? I think my problem is there. And again, thanks for the help! |
Hello Friend! |
No. |
hi, how you solve the problem ? i had same problem , can describe it ? i don't understand from the reading. thanks |
Hello friends!
I'm having difficulty running an event in PascalScript.
In this example, I have a "type" and a "class".
With TEvento and TClassEvento registered in Pascal Script, as shown below:
Comments:
I saw in some grammars that you need to add the "@"
O.Evento: = @ABC;
when using PascalScript and does not work.When I try to run without the "@" I get the return: [Error] (10:22): Invalid number of parameters
The link contains the example I set up.
Sorry for my English, I'm from Brazil and my sincere thanks.
The text was updated successfully, but these errors were encountered: