If the first argument evaluates to TRUE (i.e. non-zero) the function will return the value of argument 2. Otherwise it will return the value of argument 3. Note that the type of arguments 2 and 3 must both be the same. No implicit type conversion will be performed on these arguments.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
real array |
Yes |
|
Test value |
2 |
real array |
Yes |
|
Result if test true |
3 |
real array |
Yes |
|
Result if test false |
Return type: real array
|