Bam Bam
2006-08-25 18:05:11
Procedure DebugLn(text: string);
var
a:integer;
begin
if(debug)then begin
a := getsystemtime div 1000;
writeln(text);
writeln('Time: '+inttostr(a)+'(seconds)');
end;
end;I made this so that I could implement an optional script debuging feature, and seeing how it could be useful I thought i might share it…