Anomouz Posted January 18, 2016 Share Posted January 18, 2016 (edited) Hey back again, i'm having issues exiting a Do loop. $m Do $i = FFBestSpot(100, 400, 500, $m[0], $m[1], -1, 3, True) If IsArray ($i) Then Return $i EndIf Until Isarray($i) And (0 < $i[0] < 950) ;UDF will return $i[0] = 0 on error ;Or ;$i[0],[1],[2] On success I Need the loop to continue until $i[0] returns Less than 950. Any help Much appreciated! EDIT : Sorry I should probably add that whats happening is its exiting the loop when only IsArray() condition is met. Thanks! Edited January 18, 2016 by Anomouz Link to comment Share on other sites More sharing options...
Anomouz Posted January 18, 2016 Author Share Posted January 18, 2016 Solved, Sorry. 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