Public Function TrueEveryNSeconds( _ Optional ByVal vSeconds As Variant _ ) As Boolean
TrueEveryNSeconds(0) : SleepBlocking(3.5) : ? TrueEveryNSeconds(5) : SleepBlocking(3.5) : ? TrueEveryNSeconds(5) False TrueSee also:
TrueEveryNCalls FunctionvSeconds: The number of seconds that must have elapsed before the function will return True. It is the number of seconds that must have elapsed since either 1) this function was first called, or 2) the function last returned True. vSeconds default to 0 (zero) if it is missing or Null or cannot be fixed up to a number, meaning that the function will return True and reset the start time.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.