RE: [asterisk-users] AEL2 Looping

2006-07-29 Thread Rushowr
stang Sent: Saturday, July 29, 2006 6:58 PM To: Asterisk Users Mailing List - Non-Commercial Discussion; Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] AEL2 Looping I actually did get it to work, by removing _all_ spaces from the for line... for (x=0;${x}&

RE: [asterisk-users] AEL2 Looping

2006-07-29 Thread Douglas Garstang
Sat 7/29/2006 12:24 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Cc: Subject: RE: [asterisk-users] AEL2 Looping >> context new_pbx_betty_start { >> >> _X. => { &g

RE: [asterisk-users] AEL2 Looping

2006-07-29 Thread Rushowr
>> context new_pbx_betty_start { >> >> _X. => { >> for (x=0; ${x} < 3; x=${x} + 1) { >> Verbose(x is ${x} !); >> } >> }; >> >> } >I would have to see the output of "show dialplan new_pbx_betty_start" to know exactly >what is going on. Howe

Re: [asterisk-users] AEL2 Looping

2006-07-29 Thread Russell Bryant
- Douglas Garstang <[EMAIL PROTECTED]> wrote: > context new_pbx_betty_start { > > _X. => { > for (x=0; ${x} < 3; x=${x} + 1) { > Verbose(x is ${x} !); > } > }; > > } > > Here's the output. > > The var x never gets incremented! Is th