Function copies the value at the input x
to the value at the output y
.
Example in Python
y = x
Function menu | Block diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
x |
float, int32, bool | Operand at input |
Name | Type | Description |
---|---|---|
y |
see note | Operand at output |
Type of the value at the output
y
corresponds to the type of the value at the inputx
.
Not available
If you need to copy the result of the function into several variables, you need to use the MOVE function. This is due to the fact that no more than one variable can be connected to one output in Complex Events.
This is how it works:
This is not how it works:
If it is necessary to set a condition for branching the algorithm with respect to the value of one variable.
Example in Python
# Condition
if var1 == True:
# Action 1
else:
# Action 2
This is how it works:
This is not how it works: