Python Forum
Why do I have an infinite loop?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why do I have an infinite loop?
#3
Uh, what are you talking about? The drawRG function sets its variable to true on line 104, and that variable is set to global on line 91. In my program, I have those variables set to false if the functions aren't done, and true when they are. Note how they're all declared false at the start of the program, and they're all outside the main loop.
Reply


Messages In This Thread
Why do I have an infinite loop? - by xBlackHeartx - Jan-12-2020, 05:53 PM
RE: Why do I have an infinite loop? - by xBlackHeartx - Jan-12-2020, 08:37 PM
RE: Why do I have an infinite loop? - by Windspar - Jan-12-2020, 11:37 PM
RE: Why do I have an infinite loop? - by Windspar - Jan-13-2020, 11:37 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020