Using HE Exec 4.6.1 with Hescript.
I can successfully call a procedure from a procedure, if it’s in the same script name. Is it possible to call a procedure from a procedure with a different script name?
Example;
CustMain.Test1 calls the procedure Test2 in CustTest or CustTest.Test2.
Thanks,
You can try unofficial internal functions:
RunSimpleProcedure(const FullName: String);
RunSimpleProcOrFunc(const FullName: String);
However, they are limited: you can’t pass parameters for instance.
Demo:
In CustMain.Test1, you could have:
RunSimpleProcedure("CustTest.Test2");
In CustTest, it should be like:
procedure Test2;
begin
...
end;