Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looping to the start?
#4
Alright, so I messed around with the while loop idea.
It seems like the loop works fine until you input the letter. Then it keeps repeating on itself...

This is what happened when I added while:

[Image: results1.png]

This is what happened when I placed a readline command at the end of the loop:

[Image: results2.png]

I tried using a return command to see if that would help, but that only offered the above results as well. The break command was nice for finishing everything though.
Reply


Messages In This Thread
Looping to the start? - by kimicatdemon - 2012-05-02, 01:49 AM
Looping to the start? - by XTOTHEL - 2012-05-02, 01:54 AM
Looping to the start? - by Kalovale - 2012-05-02, 02:30 AM
Looping to the start? - by kimicatdemon - 2012-05-02, 02:42 AM
Looping to the start? - by FenixR - 2012-05-02, 02:50 AM
Looping to the start? - by kimicatdemon - 2012-05-02, 02:53 AM
Looping to the start? - by Kalovale - 2012-05-02, 03:06 AM
Looping to the start? - by kimicatdemon - 2012-05-03, 03:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)