On 07/09/07 12:13, Daniel-Constantin Mierla wrote:
Hello Juha,
the script variables exist all the time, and cannot be null, they are
0 if they are unassigned.
I will check back, but the length of null should be 0 now,
checked, length of null values in devel version is not computed, any
transformation on null values is canceled. I think is this better,
because null does not exists as a value, it is just a flag. Should be
more or less like in C, but avoiding crashing when playing with null values.
I will try to summarize the meaning of null in config file and how it
operates.
Cheers,
Daniel
I think I fixed that, otherwise I will do it right now.
Cheers,
Daniel
On 07/07/07 18:51, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
> - fix applying some operations to NULL pseudo-variables
daniel,
this reminds me about the null value issue that i raised a few weeks
ago, i.e., that an unassigned script variable and a non-existing avp
would both have "null" value if used in an expression and that length of
"null" value is 0.
have you had time to consider this proposal or do you have some other
suggestion?
-- juha
_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel