Re: time()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Kat wrote:
 
> Robert, can we have a time(0) to reset time() to zero? 

Kat, try please another function instead of time(),
for example :
-------------------
atom Time Time=0
function time_oper(integer t)
 if t=0 then
    Time=time() return 0
 else  
  return time()-Time
 end if
end function

? time_oper(0)

for i=1 to 10000000 do end for

? time_oper(1)

for i=1 to 10000000 do end for

? time_oper(2)
-------------------

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu