Skip to main content
Skip table of contents

Continue Command

Overview

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

Property

Annotation

You can insert text in the description, unique meaning, or nickname for each Parameter to differentiate from many DRL Components.

Example

DRL Code

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.