Comment on page

# Operations

Operations allow to manipulate the value of a Data Entity, or of a property of a Data Entity.

The Type of an Operation will specialize this Component to perform that specific operation. Currently, there are five Types of operation that one can freely perform:

**Array Operations**, to manipulate arrays;**Assign Operations**, to assign a value to a Simple or Free Input Data Entity (also possible if such data entity is for instance part of an array or a property of a struct);**Math Operations**, to perform numerical operations on suitable data entities;**Condition Operation**, utilized to define conditions; and**String Operations**, to manipulate strings.**Array Operations**: An Array Operation is a type of operation utilized to manipulate arrays. Next to the Primary Scope of the operation, defined in the Data Manipulation Element, an array operation presents one

**Term**and an

**Operator**. The

**Term**defines what

**Data Entity**should be used for this Array Operation. The

**Operator**of this Array Operation defines what type of operation is performed. A Pop operation means that the Data Entity defined as First Term will be removed from the Array, whereas a Push operation means that it will be added to the Array.

**Assign Operation**: An Assign Operation is utilized to change the value of a suitable

**Data Entity**by assigning it another data entity's value. The

**Mapping**defines what Data Entity should be used to assign the value to the data entity in the Manipulation's primary scope.

**Math Operation**: A Math Operation is utilized to perform numerical operations on suitable

**data entities**. Next to the Primary Scope of the operation, defined in the Data Manipulation Element, a math operation presents two

**Terms**and an

**Operator**. The first

**Term**defines what Data Entity should be used as the left-hand side of this Math Operation. The second

**Term**defines what Data Entity should be used as the right-hand side of this Math Operation. The

**Operator**of this Math Operation defines what type of mathematical operation is performed between the two Terms. There are four possible Operators: Add, Subtract, Divide, and Multiply.

**Condition Operation**: A Condition Operation is a special type of operation utilized to define conditions. The first

**Term**defines what Data Entity should be used as the left-hand side of this Condition Operation. The second

**Term**defines what Data Entity should be used as the right-hand side of this Condition Operation. The

**Operator**of this Condition Operation defines what type of comparison is performed between the two Terms of the condition. There are six Operators for a Condition: Less Than, Greater Than, Equal, Less Than or Equal, Greater Than or Equal, and Not Equal.

**String Operation**: A String Operation is utilized to manipulate strings. Next to the Primary Scope of the operation, defined in the Data Manipulation Element, a string operation presents two

**Terms**and an

**Operator**. The first

**Term**defines what Data Entity should be used as the left-hand side of this String Operation. The second

**Term**defines what Data Entity should be used as the right-hand side of this String Operation. The

**Operator**of this String Operation defines what type of operation is performed between the two Terms. There is one possible operator: Concatenate, which is used to append the values of the two strings one after the other.

Last modified 9mo ago