OTX Reference  
OpenTestSystem.Otx.Core.Nodes.Node.EndNode.Continue Class Reference

Next iteration More...

Inheritance diagram for OpenTestSystem.Otx.Core.Nodes.Node.EndNode.Continue:
Inheritance graph

Public Attributes

OtxName target
 Name of the target loop node More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Nodes.Node
System.Boolean disabled
 To turn on/off a node. A deactivated node is not executed at run time. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.UniversalTypes.NamedAndSpecified
ExtensibleData[] extendedData
 Declares general data for NamedAndSpecified which can be extented by new general data defined in new OTX extensions using the standardised extension mechanism. For example it can be used to specify specification relevant content in a better structured way. More...
 
OtxId id
 Unique identifier of an element More...
 
MetaData metaData
 Additional tool-specific data More...
 
OtxName name
 Name of an element More...
 
NamedAndSpecifiedSpecification[] specification
 Descriptive specification More...
 

Detailed Description

Next iteration

A Continue node completes execution of a Loop Flow immediately and initiates the next iteration, after Loop condition evaluation. Continue shall be used only within Loop nodes, at any nesting depth, see ForEachLoop, ForLoop and WhileLoop. Continue is a controlled jump with a well-defined jump target, namely the first node of the Loop Flow.

Syntax
continue LoopName;
Example
// Local Declarations
Integer counter = 0;
List<Integer> intList1;
// Flow
for (counter; 0; 9) : ForLoop
{
if ((counter % 2) == 0)
{
continue ForLoop;
}
else
{
}
ListAppendItems(intList1, { counter});
}
Checker rules
CheckerRule.Core_Chk020 - Correct nesting of Continue node
See also
Nodes.Node.CompoundNode.Loop

Member Data Documentation

◆ target

OtxName OpenTestSystem.Otx.Core.Nodes.Node.EndNode.Continue.target

Name of the target loop node

Names the target Loop node which is forced to continue. If the attribute is omitted, the default target is the innermost Loop. Otherwise, the value must match the name attribute of the targeted Loop in the procedure.