Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
The other standard API.

Functions

 std_counterClose (counter)
 Close a counter.
 std_counterReset (counter)
 Reset a counter (a re-start)
 std_counterStop (counter)
 Stop a counter.

Detailed Description

Package to load : lib/std/misc.pkg

Dependancies :

Function Documentation

std_counterStop ( counter  )

Stop a counter.

Prototype : fun [STD_COUNTER] I

Parameters
STD_COUNTER: a counter object
Returns
I : the elaspsed time from the START call, in milliseconds.
Remarks
the counter is not closed, this function can be called again.
std_counterReset ( counter  )

Reset a counter (a re-start)

Prototype : fun [STD_COUNTER] STD_COUNTER

Parameters
STD_COUNTER: a counter object
Returns
STD_COUNTER : the same object
std_counterClose ( counter  )

Close a counter.

Prototype : fun [STD_COUNTER] I

Parameters
STD_COUNTER: a counter object
Returns
I : always 0
Remarks
this counter can not be called again.