<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Precedence of AND and OR Conditions]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Precedence of AND and OR Conditions of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 20 Nov 2020 01:15:54 +0200</lastBuildDateTag>		<item>
			<title>Precedence of AND and OR Conditions</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic15111/message50920/">Precedence of AND and OR Conditions</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Although I couldn&#39;t find it documented, it appears that when adding filter conditions AND has a higher precedence than OR. &nbsp;This makes sense and is consistent with Boolean algebra and most programming languages. &nbsp;As a result, the AND only applies to operand C in the following:<br />A OR B OR C AND D<br />and it would be necessary to change it to the following to also apply the AND to A and B:<br />A AND D OR B AND D OR C AND D<br />Is there a way in TB to parenthesize A OR B OR C (or do something equivalent) so the AND D part doesn&#39;t have to be repeated? &nbsp;For example, something like the following:<br />(A OR B OR C) AND D<br /><br />Thanks! <br />
			<i>20 November 2020 01:15:54, <a href="http://www.ritlabs.com/en/forums/">Ray Mitchell</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic15111/message50920/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic15111/message50920/</guid>
			<pubDate>Fri, 20 Nov 2020 01:15:54 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
	</channel>
</rss>
