Breaking a loop early.

BlitzMax Forums/BlitzMax Beginners Area/Breaking a loop early.

I was just wondering how to break a loop early if a result is found before the looping operation is compleated?

I'm using a for loop to search but I would like to break out of the for loop if the result is found before the end of the for loop.