[asterisk-users] ExecIf and empty variables (early evaluation)

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jul 22 14:04:08 CDT 2009


On Wednesday 22 July 2009 13:56:39 Ira wrote:
> Danny Nicholas wrote:
> > Tilghman Lesher wrote:
> > >On Wednesday 22 July 2009 08:30:03 Danny Nicholas wrote:
> > > > You should submit this as a bug.  It may or may not get fixed, but it
> > > > definitely won't until someone reports it or takes it upon themselves
> > > > to fix it.
> > >
> > >Don't bother.  It's not fixable.
> >
> >I see your name enough to know this must be a true statement;  Can you
> >elaborate a little on why?
>
> While I can't be sure this is correct, I'd assume there are 2 pieces
> to executing a line of code, the first one does all the expansion and
> variable replacement, and the second one actually executes the line.
>  From the behavior I'd have to guess that INC() is handled by first
> part and not the second.

That is precisely the reason.  I could not have said it better myself.

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)



More information about the asterisk-users mailing list