Name: SEL
Type: Function
Return value: Undefined
Language type:
Description:
Binary selection
OUT := IN0 if G = FALSE, OUT := IN1 if G = TRUE
Examples:
OUT := SEL( G := FALSE, IN0 := X, IN1 := 5 ); (* OUT = X *)
Input:
Name |
Type |
Description |
G |
BOOL |
Selection variable |
In0 |
Undefined |
1st input |
In1 |
Undefined |
2st input |