Breadcrumbs

continue

Features

If 'continue' is used in a loop block, the loop stops further executing and returns to the beginning point of the loop.

Example

Python
#<ex> 1
x=0
y=0
while True:
	x = x + 1
	if x > 10:
		continue
	y += 100

#<ex> 2
sum = 0
for i in range(0, 10):
    if i%2==0:
        continue
    sum = sum + i
tp_log("sum of odd numbers = " + str(sum))
#sum of odd numbers = 25