- #1
angelspikes
- 10
- 0
I've debugged and run my program without seeing any results from my "destinationVariable".
What could be wrong?
sub main()
call myfunction()
end sub
sub myfunction()
static myClock As Single
myClock = timer
if (timer - myClock) > 100 Then
destinationVariable += 1 // This variable is linked to this script
End If
End Sub
// I want the function to run in a loop, but I guess I don't need to use the do loop function to make that happen?
What could be wrong?
sub main()
call myfunction()
end sub
sub myfunction()
static myClock As Single
myClock = timer
if (timer - myClock) > 100 Then
destinationVariable += 1 // This variable is linked to this script
End If
End Sub
// I want the function to run in a loop, but I guess I don't need to use the do loop function to make that happen?