• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Looping correctly

 
Sean Magee
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the best way tp loop it back to the user, for example in this code





But i couldnt figure out how, if the user clicked "yes" option, to return it back to the beginning to do it over again.

Could anyone help me here?
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12017
24
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about wrapping most of your code in a

do
{
} while (something is true)
[ September 10, 2004: Message edited by: fred rosenberger ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic