oh ok so it's basically the exact same as PADR?
this is the line in my progress report that I added PADR to:
Code:
writeln(PADR('|This Script Ran For ' + TimeRunning, 83) + '|'
this is a line you wrote,
Code:
WriteLn(InsertSpaces('abcd', i));
to do it with PADL you would do
Code:
WriteLn(PADL('|This Script Ran For ' + TimeRunning , 83 + '|'));
Code:
so it would say |This script has ran for 30 minutes 28 Seconds |?
hmm when I tried to run it, I had to do
WriteLn(PADL('|This Script Ran For ' + TimeRunning + ' |', + 83));
all I did was move the 83 to then end, but I thought you were telling me PADL adds spaces here:
Code:
|This script has ran for 30 minutes 28 Seconds |
I got them at the beggining, so that line is almost centered now. In the debug box it says.
Code:
|This Script Ran For 3 Seconds|
I put wait(3000) in there so it would come back with a time.
but is that right? is it supposed to be on the left side? or did I mess it up somehow?