Increases the numeric value of a variable.

1 number.increase

Release 2017.2

Tag available since version 2017.2.

<number.increase>
    <variable /> !
</number.increase>
Example
Copy
<xsql-script name='number_increase_sample'>
    <body>
        <set name='m_idx1'>1</set>
        <println>m_idx1 = <m_idx1 /></println>
        <number.increase><m_idx1 /></number.increase>
        <println>m_idx1 increased = <m_idx1 /></println>

        <set name='m_idx2'>1</set>
        <println>m_idx2 = <m_idx2 /></println>
        <set name='m_idx2'><add><m_idx2 />1</add></set>
        <println>m_idx2 adding 1 = <m_idx2 /></println>
    </body>
</xsql-script>
m_idx1 = 1
m_idx1 increased = 2
m_idx2 = 1
m_idx2 adding 1 = 2