Difference between revisions of "SCnt"

From Wiki
Jump to: navigation, search
 
m (Example)
Line 16: Line 16:
 
}
 
}
 
set %endTime %startTime - #sCnt
 
set %endTime %startTime - #sCnt
Display ok time elapsed in tenths of a second: , #spc , %endTime
+
Display ok time elapsed in seconds: , #spc , %endTime
 
halt
 
halt
  
 
</pre>
 
</pre>
 +
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|

Revision as of 17:08, 9 August 2005

#sCnt

Miscellaneous System Variables

Description

Represents the time passed in seconds since the last time that windows started.

Example


set %startTime #sCnt
for %testLoop 1 1000
{
  set %testCnt %testCnt + 1
}
set %endTime %startTime - #sCnt
Display ok time elapsed in seconds: , #spc , %endTime
halt

See Also

#date #time #sysTime #sCnt2

Main_Page Documentation Miscellaneous System Variables