Public Function DebugTimers( _ Optional ByVal vTimerNum As Byte = 0 _ , Optional ByVal vEnable As Boolean = True _ ) As String
DebugTimersSample ASec: 1 ASecH: 2 ACsc: 3 ACscH: 4 Timer #0: 9.01 s. Timer #1: 2.86 s. 31.743% Timer #2: 1.97 s. 21.865% Timer #3: 2.36 s. 26.193% Timer #4: 1.6 s. 17.758%See also:
DebugTimerOn Subroutine DebugTimerOff Function DebugTimersSample Subroutine Timer Function (Visual Basic)Note: Since the resolution of the Timer is only 1/18 of a second, you should consider performing reasonably long tests.
vTimerNo: The number of the timer to turn on or off. Must be between 0 (zero) and 16. vTimerNo defaults to 0 (zero) if it is missing.
vEnable: True if the specified timer number should be turned on, and False if the timer should be turned off. vEnable defaults to True (the timer will be turned on) if it is missing.
Return Value: Function returns a String error message if vTimerNum is not between 0 and 16 inclusive.
Function returns a String error message if an attempt is made to turn off a timer that is already off.
v1.3 Change: Changed the name of the argument to vTimerNum, changed its datatype from Variant to Byte, and specified a default value for it. Changed the name of the argument to vEnable, changed its datatype from Variant to Boolean, and specified a default value for it.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.