Re: [SR-Users] ~ operator has no effect

2011-05-24 Thread Daniel-Constantin Mierla
Hello, I re-added the operator over the weekend in master branch. It would be great if you can test and report eventual issues. Thanks, Daniel On 5/19/11 9:48 AM, Daniel-Constantin Mierla wrote: On 5/18/11 8:36 AM, Juha Heinanen wrote: Brandon Armstead writes: Quick correction:

Re: [SR-Users] ~ operator has no effect

2011-05-19 Thread Daniel-Constantin Mierla
On 5/18/11 8:36 AM, Juha Heinanen wrote: Brandon Armstead writes: Quick correction: $var(test) = $var(test) ~ 2; that is what i actually tried to do in the first place and it had no effect. luckily m4 exists. Looks like some operators are missing in the new core cfg interpreter,

[SR-Users] ~ operator has no effect

2011-05-17 Thread Juha Heinanen
according to core cookbook: ~ : bitwise NOT however, looks like it has no effect. i have $var(test) = ~2; xlog(L_INFO, test is $var(test)\n); and i get to syslog: May 17 18:10:40 sip /usr/sbin/sip-proxy[29280]: INFO: test is 2 have i misunderstood the operator or is there a

Re: [SR-Users] ~ operator has no effect

2011-05-17 Thread Brandon Armstead
Juha, Try $var(test) = $var(test) ~ 2; Sincerely, Brandon Armstead On Tue, May 17, 2011 at 8:13 AM, Juha Heinanen j...@tutpro.com wrote: according to core cookbook: ~ : bitwise NOT however, looks like it has no effect. i have $var(test) = ~2; xlog(L_INFO, test is