Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » While loop, sleep
Re: While loop, sleep [message #60268 is a reply to message #60264] Sun, 29 October 2023 06:18 Go to previous messageGo to previous message
sniffgriff is currently offline  sniffgriff
Messages: 10
Registered: May 2023
Location: NY
Promising Member
Thank you friend, I appreciate it.

I see that the random rectangle color is run on a single frame. How would I utilize SetTimeCallback if the loop function I am running requires waiting, between steps? For example, step:1 change the rectangle color to blue, step:2 wait 2 seconds, step:3 then change the color to red, wait 4 seconds?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Java Script
Next Topic: How do I write string_view to Cout() without copying to a String?
Goto Forum:
  


Current Time: Sat Aug 23 22:41:25 CEST 2025

Total time taken to generate the page: 0.03534 seconds