Public Function BeepEveryNthCall( _
Optional ByVal vNthCall As Long = 0 _
) As Boolean ' Should beep 20 times.
Dim lngCur As Long
For lngCur = 1 To 10000
Dim varIgnore As Variant
varIgnore = BeepEveryNthCall(500)
Dim dblTemp As Double
dblTemp = Sqr(lngCur)
Next lngCurSee also: TrueEveryNCalls Function
Beep Statement (Visual Basic)vNthCall: The number of calls to this function before the function beeps. vNthCall defaults to 0 (zero) if it is missing. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.