Debug output failing?
Posted: Thu Apr 11, 2024 3:41 pm
In the small piece of code below, the Debug is only displayed at the end of the execution whereas it should be displayed every second. Does anyone know why?
Thanks in advance.
Thanks in advance.
Code: Select all
Procedure Wait(milliseconds)
Start = ElapsedMilliseconds()
Repeat
delay = (ElapsedMilliseconds()-Start)
Until (delay > milliseconds)
EndProcedure
For x = 1 To 5
Debug Str(x); Only displayed at the end of 5 iterations... Why? (While it works very well in Purebasic)
Wait(1000)
Next x