Viewing 5 posts - 1 through 5 (of 5 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5899 |

    Hi

    Is there something like a counter in VDP?

    Migrated from old forum
    Participant
    Post count: 327
    #5900 |

    Raoul,

    You can set variable named counter=0 and than later in dial plan (or in loop) use math block to increase value of variable counter for 1.

    Raman

    Migrated from old forum
    Participant
    Post count: 327
    #5901 |

    ahh ok thanks alot

    Migrated from old forum
    Participant
    Post count: 327
    #5902 |

    I’m having a problem with Math but i dont know what here is the code for my Math
    Quote:
    Set(counter=${MATH(1+${counter})})

    Migrated from old forum
    Participant
    Post count: 327
    #5903 |

    Hi Raoul,

    I’m not clear with your question.
    Can you explain it in more detail?

    BTW if you click on Math block you will be able to see code under Build tab (in the lower left corner).

    Set(counter=${MATH(1+${counter})}) represents the following: counter=counter+1;

    Raman

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.