Please enable JavaScript to view this site.

Function that allows a unit to be imposed as a function of the logical state of a condition.

Syntax

real cond_val (cond, real valTrue, real valFalse)

cond

Condition to be examined. It can also be a generic expression

valTrue

Result value in case of cond TRUE

valFalse

Result value in case of cond FALSE

Result

Returns valTrue or valFalse based on the logical state of the condition

Validity

Rule, Task

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC