Yago
2011-03-02 17:57:34
I read one of Naum's tutorials about Script Terminate in SCAR. I was just wondering if it exactly the same in SIMBA too?
Thanks
Thanks
2011-03-02 17:57:34
2011-03-02 19:36:32
AddOnTerminate('Report');This will call the 'Report' function when the script is manually terminated. This goes in where the main script begins, but before the repeated 'loop' is called.
2011-03-03 20:48:33
2011-03-03 21:21:26
program new;
{$i SRL/SRL.scar}
procedure Report;
begin
writeln('What ever procedure you want.');
end;
begin
AddOnTerminate('Report'); // procedure name goes where Report is
repeat
wait(100);
until IsFKeyDown(7);
end. 2011-03-03 21:31:04
2011-03-20 22:21:34
AddOnTerminate('Report(True)');2011-03-20 23:37:40
2011-03-21 15:36:01