Increment a varibale by one for three times & exit at th
Posted: Tue Dec 12, 2006 10:27 am
Hi,
I have a situation where in i need to increment a varibale in else condition (i.e. non matching condition other than mentioned in if loop). And need to exit after the third attempt without using the NoMatch event.
If(cond== 1)
else if (cond==2)
else
var = var +1
If var =3 then exit
Can you suggest some VXML syntax to achieve this?
Thanks,
-Awaneesh
I have a situation where in i need to increment a varibale in else condition (i.e. non matching condition other than mentioned in if loop). And need to exit after the third attempt without using the NoMatch event.
If(cond== 1)
else if (cond==2)
else
var = var +1
If var =3 then exit
Can you suggest some VXML syntax to achieve this?
Thanks,
-Awaneesh