///////////////////////////////////////////////////////////////////////////
| 161 | |
| 162 | //////////////////////////////////////////////////////////////////////////////// |
| 163 | bool Variant::operator||(const Variant& other) const { |
| 164 | Variant left(*this); |
| 165 | Variant right(other); |
| 166 | |
| 167 | if (left._type == type_string) Lexer::dequote(left._string); |
| 168 | |
| 169 | if (right._type == type_string) Lexer::dequote(right._string); |
| 170 | |
| 171 | left.cast(type_boolean); |
| 172 | right.cast(type_boolean); |
| 173 | |
| 174 | return left._bool || right._bool; |
| 175 | } |
| 176 | |
| 177 | //////////////////////////////////////////////////////////////////////////////// |
| 178 | bool Variant::operator_xor(const Variant& other) const { |