expression - help!
I have a complex file that grew to 35 conditions in the days before FM8 expressions. I used Webworks to convert to help, and had the conditions and variables for each desired output defined in a separate FM settings file, so I just needed to import those into the book and convert. Happy Happy.
Flash forward, the files are now in FM8 and I use TCS1 to convert to help, so I have to set the conditions using an expression in FM. Having to create the expression manually with so many conditions is tedious and error-prone, so I'm <finally> able to take the time to clean up the conditions to reduce them to the bare minimum required and multiple-tag paragraphs as necessary. However, I'm testing the expression first and can't get the output I want, and haven't been able to find a resource to help me (if anyone knows of such a beast, please direct me there).
Here's the setup:
Conditions:
- A, B, C, D (a para can be any or all of these, but only one can be chosen for output)
- cake or pie (mutually exclusive, and one must be chosen for output)
- apple or orange (mutually exclusive, and one must be chosen for output)
- comment (this would only be included for review output, hidden for final)
So I want output for A/cake/apple. The closest I've gotten is to say:
"A" or "cake" or "apple" andnot "B" andnot "C" andnot "D" andnot "pie" andnot "orange"
However the output still shows a paragraph that is tagged as "A and C and orange". (it's ok to include paras tagged B,C, or D as long as they are also A, but apple/orange should be mutually exclusive).
Any guidance (or pointers to where this is more clearly documented) would be tremendously appreciated.
