Sign in to follow this  
Followers 0
Anomouz

Do Until isarray() AND x>y>z

2 posts in this topic

#1 ·  Posted (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 by Anomouz

Share this post


Link to post
Share on other sites



Solved, Sorry.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0