Operators Variable operators, assignments & co. |
Operator constructs are commands just like the other ones.
All the operators work on local or global variables and dictionaries. The generic operator syntax is: <left_operand> <operator> [right_operand] where <left_operand> and [right_operand] depend on the <operator>. Some operators have no [right_operand] and these are called unary operators: they operate directly on <left_operand>. Some operators, like arithmetic ones, are typically used inside the special function $(<expression>), called the Expression evaluation identifier; This special function returns the result of the evaluation of the <expression>. In previous versions of KVIrc this function was called $calc(). |