Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

break all loops

break only stops the loop it is in.
if you want to break out of a while true loop try:
flag = True
while flag:
	for i in range(1000):
    	if i == 10:
        	flag = False
            break
 
PREVIOUS NEXT
Tagged: #break #loops
ADD COMMENT
Topic
Name
2+6 =