///////////////////////////////////////////////////////////////////////////
| 146 | |
| 147 | //////////////////////////////////////////////////////////////////////////////// |
| 148 | bool Variant::operator&&(const Variant& other) const { |
| 149 | Variant left(*this); |
| 150 | Variant right(other); |
| 151 | |
| 152 | if (left._type == type_string) Lexer::dequote(left._string); |
| 153 | |
| 154 | if (right._type == type_string) Lexer::dequote(right._string); |
| 155 | |
| 156 | left.cast(type_boolean); |
| 157 | right.cast(type_boolean); |
| 158 | |
| 159 | return left._bool && right._bool; |
| 160 | } |
| 161 | |
| 162 | //////////////////////////////////////////////////////////////////////////////// |
| 163 | bool Variant::operator||(const Variant& other) const { |