This function determines if two values are equals. If they are, the function will return true. Otherwise, returns false.

1 eval.eq

<eval.eq>
    <value1 /> !
    <value2 /> !
</eval.eq>
Example
Copy
<xsql-script name='sample'>
    <body>
        <set name='value_1'>10</set>
        <set name='value_2'>20</set>
        <!-- Shows 0 (false) -->
        <println><eval.eq><value_1 /><value_2 /></eval.eq></println>

         <set name='value_2'>10</set>
         <!-- Shows 1 (true) -->
         <println><eval.eq><value_1 /><value_2 /></eval.eq></println>
    </body>
</xsql-script>

Returns:

Copy
false
true