Logic comparison
This section is available only in EnglishComparison block is used for comparing two values together and return boolean value representing result of required logical operation.
Block have a left comparative value followed by required operator and then second value for comparison.
Available operators:
- EQ - equality
- NEQ - non equality
- LT - lesser than
- LTE - lesser or equal than
- GT - greater than
- GTE - greater or equal than
XML representation of logic_compare block
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_compare">
<field name="OP">EQ</field>
<value name="A">
<block type="logic_boolean">
<field name="BOOL">TRUE</field>
</block>
</value>
<value name="B">
<block type="logic_boolean">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</xml>