hi guys
first of all congratulation for your work, very very well done!
I’m a fpc programmer and I’m experimenting with your interpreter, so, sorry if I ask trivial things.
With free pascal I wrote a function like:
procedure Out_WriteFmt(Data: string; const Args : array of const);
begin
ScriptOutput.Text:= ScriptOutput.Text + Format(Data, Args);
end;
The purpose is to provide the potential of the Format function to my script.
I can use it properly (both compilation and runtime), but at the end of runtime I get an Access Violation.
I guess it depends on the parameter: const Args: array of const.
I don’t think that it is not supported (function produces output that I expect) but I cannot understand the access violation.
facing the same problem with array of const when using in Format(Data, Args);
Am not getting the access violation, but getting weird characters in place of original arguments.