Boolean Algebra in DFSort and Icetool
Posted: Thu Mar 10, 2011 12:14 pm
Hello,
I have a question regarding use of boolean algebra in DFSort an Icetool.
I know that I can use "and"- and "or"-Statements in INCLUDE COND and OMIT COND.
But if I try to write more complex statements I have the problem that I am not sure if DFSort is associative with "AND" and if I can use paranthesis.
Example:
Can I program INCLUDE CONDs for something like
a to e could be some conditions like
Is this possible and does DFSort interprete the statement as (a or b) and c or (d and e) ?
Thank you all in advance,
regards
Oliver
I have a question regarding use of boolean algebra in DFSort an Icetool.
I know that I can use "and"- and "or"-Statements in INCLUDE COND and OMIT COND.
But if I try to write more complex statements I have the problem that I am not sure if DFSort is associative with "AND" and if I can use paranthesis.
Example:
Can I program INCLUDE CONDs for something like
(a or b) and c or d and e
INCLUDE COND ((a,or,b),and,c,or,d,and,e)
INCLUDE COND ((a,or,b),and,c,or,d,and,e)
a to e could be some conditions like
"10,2,CH,EQ,C'10'"
Is this possible and does DFSort interprete the statement as (a or b) and c or (d and e) ?
Thank you all in advance,
regards
Oliver