Ending a for loop without using "||" in the condition

how can i exit a for loop without using an OR logic test in the condition
when i try this, it comes up saying “this movie is running a script that is causing the computer to run slowly etc… stop script?” - or something to that effect.

thanks

cA