Skip to main content
Skip table of contents

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

PY
#<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
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.