Liam, I think you're reading too much into the original post. And your reply was kind of harsh for someone new (especially if you don't fully understand what he/she is asking).
Here's what I get from moose's post...
Code:
//game loop
while(GameState==LoopOne)
{
if(ClickedOnBtn1()) shoot();
if(ClickedOnBtn2())
{
GameState=LoopTwo;
break;
}
if(ClickedOnBtn3())
{
GameState=LoopThree;
break;
}
if(ClickedOnBtn4()) run();
}
//main menu loop
while(GameState==LoopTwo)
{
//stuff in loop 2.
}
If function ClickedOnBtn2 returns true then you reset the GameState variable and exit the loop. Granted the code I provided is really generic, but from what I read of the original post that's a basic idea of what he's saying. If a certain condition is met you move on to another loop without ever completing the rest of the current loop. He never said infinite. He never said his loop didn't end. He said:
without every getting to the end of the game loop.
I think you need to re-read the original post.
And this crap..
Uraldor, hey ***got, dont get into someone's business u dumb ****...
is completely uncalled for. Uraldor was simply telling you to go easy on a new poster.