Posted: Sat May 02, 2009 6:36 am Post subject: [asterisk-dev] Variable increment/decrement feature [WAS: Re
As this thread about the INC/DEC functions had become too long, its time it got its own thread. Please continue the
discussion on this thread.
Regards,
Nir S
On Sat, May 2, 2009 at 9:11 AM, Nir Simionovich <nir.simionovich@gmail.com (nir.simionovich@gmail.com)> wrote:
Quote:
Hmmm... Tilghman has a valid point here - I didn't think about that one. In other words,
the function should affect the variable on one hand, but also return the value of the operation back to Asterisk - for usage with other applications and functions.
I think it's the developer's responsibility to decide if he wants to use that return value or not.
On Wednesday 29 April 2009 15:22:25 Benny Amorsen wrote:
Quote:
Tilghman Lesher <tilghman@mail.jeffandtilghman.com (tilghman@mail.jeffandtilghman.com)> writes:
> I think it should be a function, not an application, as its function is
> > to change a value, not to do something to the channel.
Quote:
There really is nothing to return, and the function would be primarily
called for side effects.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum