From: fom
I haven't tried yet so I don't know, If I do need help I'll ask you..
HayHay I'm on a different computer without Scar so I'll take a look at it when I'm on my own computer.
Well, I'll teach you the basics of a progress report right here right now.
Creating a Progress Report:Whenever you create a Progress Report, it will need to contain the following: Writeln and Variables. If you don't know them, then please learn them before continuing.
First, we will create a simple Writeln function saying that it has done 1 load:
Writeln('This script has done 1 load.');
Now that will not do as it won't keep updating everytime the script does a load. So we use the variable types, integers. Now to convert an integer into a string we use a function call IntToStr(
Variable Name or Number Here). That will convert that Integer into a string. Now my Writeln function looks like this:
Writeln('This script has done '+IntToStr(Loads)+' loads.');
Adding and Subtracting variables:To make a progress report update, you'll need to either change that variable.
When ever something has done something and you want it to save the data, you should do VariableName:=VariableName+
or-ValueHere;
Now have the Writeln in your script and it will be the same as above. Now here is the finished product of out progress report:
var
TimesSaid:Integer;
begin
repeat
Writeln('I have wrote this '+IntToStr(TimesSaid)+' times.');
TimesSaid:=TimesSaid+1;
Wait(10)
ClearDebug;
Until(False);
end.