Open zedxxx opened 3 years ago
I found that it stopped working after this commit: https://github.com/remobjects/pascalscript/commit/86a057c8686143ce0443be6995d6515c5c9b705c
@Vizit0r can you look into this?
@zedxxx on my latest connit, which i already push to my rep, and awaiting for @carlokok approval to merge with main code - all works fine, checked it right now. a=1 b=2 Press ENTER to exit...
@Vizit0r which branch/pr?
@carlokok look at the "main" thread - https://github.com/remobjects/pascalscript/pull/225 or i miss something and it does not requested as merge?
@Vizit0r I tested your fork and can confirm that it fixes this bug.
I want use in script this Delphi function:
function Format_P(const Format: string; const Args: array of const): string;
If I use PascalScript sources from
stable
branch then all works fine, but when I switch to themaster
branchArgs
receives some garbage instead of actual values. My Delphi version is 10.3.3.This bug can be easily reproduced with the test:
Test result:
stable
branch outputs:a=1 b=2
(correct)master
branch outputs:a= b=-1
(incorrect)