ryoken Posted June 9, 2009 Share Posted June 9, 2009 Hello, I'm new to this forum and i have a question. Is there a way to return to a loop? For instance if i wanted to return to another while statement. Is this possible? and if not then are there any alternatives? Thanks in advance. Link to comment Share on other sites More sharing options...
MrMitchell Posted June 9, 2009 Share Posted June 9, 2009 What was the reason for leaving the loop in the first place? And what type of loop was it? Do you have a specific example? Link to comment Share on other sites More sharing options...
ryoken Posted June 9, 2009 Author Share Posted June 9, 2009 The reason for leaving the loop is to enter another loop. The loop i'm using is a While statement. What i'm trying to do is go from a loop for a GUI, to a loop for a Tray Icon. However i want to be able to switch back to the GUI on command. Link to comment Share on other sites More sharing options...
CodyBarrett Posted June 9, 2009 Share Posted June 9, 2009 use a separate function with a loop in it and call that? [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
ryoken Posted June 9, 2009 Author Share Posted June 9, 2009 mmm, pretty new to this also. Think you could post an example? I'd really appreciate it. Link to comment Share on other sites More sharing options...
MrMitchell Posted June 9, 2009 Share Posted June 9, 2009 The reason for leaving the loop is to enter another loop.The loop i'm using is a While statement.What i'm trying to do is go from a loop for a GUI, to a loop for a Tray Icon. However i want to be able to switch back to the GUI on command.Depending on how you exit one loop to enter another, it should return back to the original loop... It sounds like you are just nesting two loops deeper and deeper, but can't be certain really. Do you have an example or not? Link to comment Share on other sites More sharing options...
ryoken Posted June 9, 2009 Author Share Posted June 9, 2009 Alright i got it figured out, I just put the 2 loops into functions and had them call eachother on command. Thanks for the help guys. Link to comment Share on other sites More sharing options...
CodyBarrett Posted June 9, 2009 Share Posted June 9, 2009 np [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now