up previous next
ElapsedTime    --    Counts elapsed time


Syntax
ElapsedTime(): RAT

Description
This function returns a RAT whose value is the elapsed time in seconds since the start of the program. We recommend using FloatStr to print out the value in a way which is convenient to comprehend.

Example
/**/ println "Before sleep: ", FloatStr(ElapsedTime());
/**/ SleepFor(5);
/**/ println "After sleep: ", FloatStr(ElapsedTime());

See Also