[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson