diff -r 7707b26e82fd -r 320e4393785a help/en/hlp_eval.txt --- a/help/en/hlp_eval.txt Tue Nov 10 18:27:16 2009 +0200 +++ b/help/en/hlp_eval.txt Tue Nov 10 19:36:54 2009 +0200 @@ -4,7 +4,6 @@ Evaluates expression and executes result string as command. Expression evaluation rules: * all operators have the same precedence; -* parenthesis searching will not take into account strings; * supported operators: . string concatenation + binary plus / string concatenation @@ -20,9 +19,9 @@ * numbers can be specified as plain decimal numbers, minus in front of digit will be recognized as a part of number; * mcabber variables can be specified by name, though only subset of possible names is suppoted: - variable must start from latin alphabetic symbol; - - inside of variable name also are allowed digits, - and _. + - inside of variable name also are allowed digits, - and _; +* to enable parentheses in character strings current implementation ignores anything after extra closing paren - you may use this as a sort of comment... Example: /eval "echo 2 + 2 = " . (2+2) - /eval "set ping_interval = " . (ping_interval + 1) -Note: last example probably should use /let command. + /eval "set ping_interval = " . (ping_interval + 1) ) this example probably should use /let command.