Difference between revisions of "Core.Actions.TerminateLanes"

From emotive
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''TerminateLanes'''}}[[Category:Core]]
 
{{DISPLAYTITLE:OTX '''TerminateLanes'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | TerminateLanes | To explicitly stop of a parallel activity | [[End Node]] | [[OtxReference#Core|OTX Core library]] | [[End node related actions]] | - | [[Core.Validation.CoreChk022|Core_Chk022]]}}
+
{{ClassificationActivity | TerminateLanes | To explicitly stop of a parallel activity | [[End Node]] | [[Core|OTX Core library]] | [[End node related actions]] | - | [[Core.Validation.CoreChk022|Core_Chk022]]}}
  
 
== OTL Syntax ==
 
== OTL Syntax ==

Latest revision as of 09:01, 16 February 2016

Classification

Name TerminateLanes
Short Description To explicitly stop of a parallel activity
Class End Node
Extension OTX Core library
Group End node related actions
Exceptions -
Checker Rules Core_Chk022
Standard Compliant Yes

OTL Syntax

terminate;

Description

With the OTX TerminateLanes activity, a parallel activity can be terminated explicitly and directly. For further description see Parallel activity.

OTL Examples

Integer intVar1 = 0;
Integer intVar2 = 0;
String stringVar1 = "";

parallel
{
   lane
   {
	intVar1 = 1;
	intVar1 = 2;
	intVar1 = 3;
	intVar1 = 4;
	intVar1 = 5;
	intVar1 = 6;
	intVar1 = 7;
	intVar1 = 8;
	intVar1 = 9;
	intVar1 = 10;
	stringVar1 = "I may not happen because of the TerminateLanes";
   }
   lane
   {
	intVar2 = 1;
	intVar2 = 2;

	terminate;
   }
}

See also

Return
Continue
Break
Throw