August 2007
Intermediate to advanced
608 pages
20h 33m
English
EndWhile() — Ends a while
loop
EndWhile()
Returns to the previously called While() application. See While() for a complete description of how to
use a while loop.
exten => 123,1,Set(COUNT=1)
exten => 123,2,While($[ ${COUNT} < 5 ])
exten => 123,3,SayNumber(${COUNT})
exten => 123,4,Set(COUNT=$[${COUNT} + 1]
exten => 123,5,EndWhile()