next up previous contents index
Next: Call external objects Up: Elements of the Fib Previous: if   Contents   Index


Conditions with the if-element

To evalue subobjects depending on variables, the if-element can be used.


Syntax: $Obj=if( Condition, Obj_1, Obj_2)$

If the condition is true, the first subobject $Obj_1$ will be evalued, else, if the condition is false, the second subobject $UF_2$ will be evalued.


The following conditions $Condition$ are available ($UF_i$ are subfunctions as described for function element in section 9.7 on page [*]):


Notes: The $if$ construct is one of the most powerful programming language constructs, so it was included in the Fib multimedia description language.


Examples:


next up previous contents index
Next: Call external objects Up: Elements of the Fib Previous: if   Contents   Index
Betti Österholz 2013-02-13