GETTIC() Determines the number of timer ticks ------------------------------------------------------------------------------ Syntax GETTIC() --> nTickCount Returns GETTIC() returns the number of timer ticks executed since the last SETTIC (.T.). Description Use this function in conjunction with SETTIC(). At any given time, it returns the number of completed timer ticks since the timer was set in motion (by calling SETTIC(.T.)). Example An individual UDF is to be measured in ticks. The tick rate counter is started with the SETTIC(.T.) call, then stopped after execution of the UDF (by passing .F. to SETTIC()) and the number of completed ticks is queried: SETTIC(.T.) MY_UDF(I) SETTIC(.F.) ? " Required ticks:", GETTIC()
See Also: SETTIC()