Zeta Matt
2013-04-27 22:38:34
It is returning the wrong time, see this:
This is the debug box:
It had passed 5358ms and it showed 44229169ms. Is there something wrong with MarkTime or am I doing something stupid? IS there anything else I could use to mark the time from a certain point?
program new;
{$i srl/srl.simba}
var
t: integer;
begin
SetupSRL;
MarkTime(t);
Wait(5000);
TimeFromMark(t);
WriteLn(IntToStr(t));
end. This is the debug box:
Compiled successfully in 358 ms.
SRL Compiled in 0 msec
44229169
Successfully executed.It had passed 5358ms and it showed 44229169ms. Is there something wrong with MarkTime or am I doing something stupid? IS there anything else I could use to mark the time from a certain point?