[sr-dev] [tracker] Comment added: Assignment operators don't work

sip-router admin at sip-router.org
Tue Nov 23 15:26:18 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#100 - Assignment operators don't work
User who did this - Daniel-Constantin Mierla (miconda)

----------
:= was used only for avp, the option starting with 3.0 for same features is to use [*] index.

So, in 1.x was:

$avp(x) := 123;

Now it has to be:

$(avp(x)[*]) = 123;

You get also same behaviour when assigning $null like it was when doing ':= null'

The rest of the operators like +=, -+ ... were supported by grammar but not really implemented, they were doing simply assignment. Hope they were not documented anywhere, it was in my plans to implement but then the changes in project development line set different priorities.
----------

More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=100#comment131

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list