make a New Binary Expression List like ([A or B] AND C) in RemObjects

92 Views Asked by At

I am trying to build a NewBinaryExpressionList but with this condition:

((A OR B) AND C)

I think this is a NewBinaryExpressionList within another, but it's not currently working for me.

1

There are 1 best solutions below

0
Deltics On

This looks to me more like a simple nested NewBinaryExpression, rather than a list:

NewBinaryExpression(NewBinaryExpression('A', dboOr, 'B'), dboAnd, 'C');