Subtract n operands.

1 eval.sub

<eval.sub>
    <value1 /> !
    <value2 /> !
</eval.sub>

Exceptions

invalid null expression

Arguments has not been specified.

Example

Subtraction of the content of 5 variables of whole type with a whole constant expression.

Copy
<xsql-script name='sub_sample1'>
    <body>
        <set name='a' type='integer' value='7' />
        <println><eval.sub><a/>5</eval.sub></println>
    </body>
</xsql-script>

Returns:

Copy
2