Hellouser Posted January 22, 2009 Share Posted January 22, 2009 Hi all Is there any way to control a while loop based on the value of a variable . ?? Link to comment Share on other sites More sharing options...
Robjong Posted January 22, 2009 Share Posted January 22, 2009 (edited) Hey, not sure if this is what you mean, if it is then yes $i = 1 While $i < 10 $i += 1 Sleep(250) WEndoÝ÷ ÚåG+ºÚ"µÍÝÙ^TÙ] ][ÝÞÜßI][ÝË ][Ý×ÔÝÜ ][ÝÊBÛØ[ ÌÍÙÈHYBÌÍÚHHBÚ[H ÌÍÙÂY ÌÍÚH ÝÈL[ ÌÍÙÈH[ÙB ÌÍÚH ÏHBÛY L BÑ[[ÈÔÝÜ B ÌÍÙÈH[ÙB[[oÝ÷ ÚåG¢·¥²Æ²²)íêh²ÖÞºÚ"µÍÌÍÚHHBÚ[HBRY ÌÍÚH ÝÈL[^]ÛÜIÌÍÚH ÏHBTÛY L BÑ[ Edited January 22, 2009 by Robjong Link to comment Share on other sites More sharing options...
torels Posted January 22, 2009 Share Posted January 22, 2009 basicly what you need to do is While <condition> <what to do> if <condition> then exitloop ;in case you want to stop the loop from something not depending on the first condition Wend very simple while 1 will create an endless loop as you should know Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org 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