The reason was not thinking before I changed itOriginally Posted by Petr Schreiber
I switched the following IF Structures
[code=thinbasic] If @currEvent.intervalcount <> 0 Then
While @currEvent.starttime <= time
@currEvent.starttime = time + @currEvent.intervaltime
Wend
End If
If @currEvent.intervalcount > 0 Then
@currEvent.intervalcount = @currEvent.intervalcount - 1
If @currEvent.intervalcount = 0 Then @currEvent.repeatFlag = %FALSE
End If
[/code]
Sorry
Michael
Bookmarks