parentheses break search
Posted: Wed Jun 26, 2002 12:37 pm
Is there any reason why having parentheses in my Vortex code would make no results show up?
The following code does not work:
<IF $group1 neq "group1" and ($db eq "db/db1" or $coll eq "db1")>
<myFunction>
</IF>
but, if I rewrite it as logically equivalent nested-if statements it does work:
<IF $group1 neq "group1">
<IF $db eq 'db/db1'>
<myFunction>
<else>
<IF $coll eq 'db1'>
<myFunction>
</IF>
</IF>
</IF>
The following code does not work:
<IF $group1 neq "group1" and ($db eq "db/db1" or $coll eq "db1")>
<myFunction>
</IF>
but, if I rewrite it as logically equivalent nested-if statements it does work:
<IF $group1 neq "group1">
<IF $db eq 'db/db1'>
<myFunction>
<else>
<IF $coll eq 'db1'>
<myFunction>
</IF>
</IF>
</IF>