It is possible to do exponential operations with this function. The base and the exponent must be indicated as operands.

1 eval.exp

<eval.exp>
    <base /> !
    <potencia /> !
</eval.exp>

Exceptions

at least 2 arguments required

illegal operator

illegal object types

Example
Copy
<xsql-script name='exp_sample3'>
    <body>
        <set name='a' type='integer' value='2' />          --> a = 2
        <set name='b' type='integer' value='3' />          --> b = 3
        <println><eval.exp><a/><b/></eval.exp></println>   --> b exp a = 2 exp 3 = 2 * 2 * 2 = 8.0
    </body>
</xsql-script>

Returns:

Copy
8