I'm sorry that this is probably a really basic question but I'm just beginning to program. Basically I need to increment a counter in VXML.
I've declared the counter as:
<var name="i" expr="0" />
and in an IF statement I've incremented by doing this: the second assign tag increments the counter.
<if cond="the_aveland_high_school"> <prompt> Thank you I have recognised a school</prompt> <assign name="arrEmpty[i]" expr="'the_aveland_high_school'"/> <assign name="i" expr="++"/> </if>
Is that concept correct?
Thanks for any help!