Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>gettic()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson