Skip to main content

tLoop example

In the following example, a WHILE loop is defined to run until the number of instances reaches 6, and the instance number increments by 2 at each iteration. As a result, the task execution is triggered at every even-numbered instance and the task will be executed three times automatically.

	setSettings {
		FORLOOP : "false",
		WHILELOOP : "true",
		DECLARATION : "int i=0",
		CONDITION : "i<6",
		ITERATION : "i=i+2"
	}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!