** Next:** if-element
** Up:** Function
** Previous:** Function
** Contents**
** Index**

####

Subfunction

The XML elements for subfunctions for variables and values (see section 9.7.1 on page ) have the names:

`value`

: value
`variable`

: variable

They contain a number each.
Where the variable subfunction (`variable`

) contains the value of the number / identifier of the variable, as it is defined above.

Furthermore, there are real subfunctions (see section 9.7.2 on page ). These contain for each of ther subfunction a XML element.

Names of subfunctions with an arity of one are:

`abs`

: absolute value
`sin`

: sine
`arcsin`

: arc sine
`log`

: logarithm
`round`

: round
`delay`

: delay

Names of subfunctions with an arity of two are:

`add`

: addition
`sub`

: subtraction
`mult`

: multiplication
`div`

: division
`mod`

: modulo
`exp`

: exponent
`min`

: minimum
`max`

: maximum

In the `sub`

, `div`

and `exp`

subfunctions the the sequence of the contained XML elements is important. In them the first contained XML element is the first contained subfunction of the subfunction.

Other subfunctions:

`if`

: if-function (before its two subfunctions, first the condition of the if-subfunction is stored, the order of the XML subelements is: condition, true case (subfunction), false case (subfunction); see section 22.3.8 on page )

** Next:** if-element
** Up:** Function
** Previous:** Function
** Contents**
** Index**
Betti Ã–sterholz
2013-02-13