hmmm i was wandering how i can add how long it ran for in my script? I'm not shurr so can anyone post a procedure or what and where it should go plzz?
greatly appreciated...
hmmm i was wandering how i can add how long it ran for in my script? I'm not shurr so can anyone post a procedure or what and where it should go plzz?
greatly appreciated...
WriteLn(TimeRunning);
Send SMS messages using Simba
Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!
Take my Proggie:
SCAR Code:procedure ToFProggy;
begin
Writeln(',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,');
Writeln('/\Please Post Progress Reports & Any problems /\ ');
Writeln('/\ From Wherever you got the script /\ ');
Writeln('//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ ');
Writeln('//\\Worked For: ' + TimeRunning + ' //\\');
Writeln('//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ ');
Writeln('//\\ Thanks for Using my Script :D //\\ ');
Writeln('```````````````````````````````````````````````');
end;
Thats it really.
I didnt use the IntToStr for My Time Running
Jus' Lurkin'
You dont have to use that. You can use the + Time Running +.
Jus' Lurkin'
I did make this function a while ago...
SCAR Code:Function GetTimeRunningConvert(Choice: integer): string;
begin
case Choice of
1: Result := IntToStr(GetTimeRunning / 1000); // Secounds
2: Result := IntToStr(GetTimeRunning / 1000 / 60); // Minutes
3 : Result := IntToStr(GetTimeRunning / 1000 / 60 / 60); // Hours
end;
end;
GettingTimeRunningConvert(1) returns the amount of the scripts running
time in seconds.
GettingTimeRunningConvert(2) returns the amount of the scripts running
time in minutes.
GettingTimeRunningConvert(3) returns the amount of the scripts running
time in Hours.
Not to advanced but it works.
There are currently 1 users browsing this thread. (0 members and 1 guests)