Difference between revisions of "Core.Actions.Continue"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''Continue'''}}[[Category:Core]] | {{DISPLAYTITLE:OTX '''Continue'''}}[[Category:Core]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | Continue | To stop the current, and resume the next iteration of a loop | [[End Node]] | [[Core|OTX Core library]] | [[End node related actions]] | - | [[Core.Validation.CoreChk020|Core_Chk020]] }} | + | {{ClassificationActivity | Continue | To stop the current, and resume the next iteration of a loop | [[End Node]] | [[OtxReference#Core|OTX Core library]] | [[End node related actions]] | - | [[Core.Validation.CoreChk020|Core_Chk020]] }} |
== OTL Syntax == | == OTL Syntax == |
Revision as of 04:37, 16 February 2016
Classification
Name | Continue |
Short Description | To stop the current, and resume the next iteration of a loop |
Class | End Node |
Extension | OTX Core library |
Group | End node related actions |
Exceptions | - |
Checker Rules | Core_Chk020 |
Standard Compliant | Yes |
OTL Syntax
continue LoopName;
Description
The iteration of the loop that is specified in the target property can be terminated with the OTX continue activity. The loop will continue directly after the continue activity with the next iteration.
Continue activities can occur only within in arbitrary nesting depth of loops, see WhileLoop, ForLoop, and ForEachLoop.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Target | - | Reference | - | [1] | Name of the outer loop, which is to be continued |
OTL Examples
Integer counter = 0;
List<Integer> intList1;
for (counter; 0; 9) : ForLoop
{
if ((counter % 2) == 0)
{
continue ForLoop;
}
else
{
}
ListAppendItems(intList1, {counter});
}