quick question that leaves alittle confusion here. Im confused on the
difference or when to use the other if i have 1 = sign or 2 == signs .. so
If i had
exten = _,1,answer()
same= n,Set($[${a}==1]?true:false] --double equal sign
same = n(true),Goto(main,s,1)
same= n(false),
On Friday 11 January 2013, penguin wrote:
quick question that leaves alittle confusion here. Im confused on the
difference or when to use the other if i have 1 = sign or 2 == signs .. so
If i had
exten = _,1,answer()
same= n,Set($[${a}==1]?true:false] --double equal sign
same
On 01/11/2013 12:20 PM, A J Stiles wrote:
I try to write comparisons as != where possible and then there is no
confusion and less mistakes possible.
Most compilers will warn on the example below now.
On Friday 11 January 2013, penguin wrote:
quick question that leaves alittle confusion
On Fri, 11 Jan 2013, jon pounder wrote:
I try to write comparisons as != where possible and then there is no
confusion and less mistakes possible. Most compilers will warn on the
example below now.
Or you can write comparisons as 'constant operator variable' like:
if (0 ==
In Asterisk extensions.conf and extensions.ael inside $[] = and == are the
same comparison operator. I can't quote where I saw this, but it has been
documented somewhere. The == was added to make things more programmer
friendly.
-Original Message-
From: