New 2019:

The <<*AskOptions* . . .>> can present many choices. Imagine the fifty United States as a list of choices. Next imagine that you want Pathagoras to perform certain actions if Florida, Georgia and South Caroline (all or any) are selected, and another set of actions if Washington, Oregon and/or California are selected.

Pathagoras' new <<*IF(any)* . . .>> and <<*IF(all)*. . .>> commands will make this possible.(Before introduction of the 'any' and 'all' arguments, you could 'stack' multiple <<If* commands to accomplish the same ends. "Any' and 'all' simplify the process tremendously.

 

Here is perhaps a more practical (law office based) example.

<<*AskOptions*!TypeDeed!Standard Deed/Deed of Gift/Marital Settlement Deed/Deed of Trust*>>

 

Some deeds are taxable, others are not. Let's say you want to set a groupname called '!Taxable!' and assign a 'True' or 'False' value (so that the 'tax' language will appear, or will be omitted, depending upon the selection made).

You could do this:

 <<*IF*!TypeDeed!="Standard" OR !TypeDeed!="Deed of Trust",!Taxable!="True",!Taxable!="False">>

but the equation can be shortened with the '(any)' argument, thusly:

 

 <<*IF(any)*!TypeDeed!"1,4",!Taxable!="True",!Taxable!="False">>

(Note that the reference of the choices is to their respective positions in the list, not the actual text.)

As there is an unlimited number of AskOptions equations of unlimited length (again, picture the 50 United States), you can see how an '(any)' or '(all)' argument can save much space and avoid many typos.

Anatomy:

 <<*IF(any)*!Groupname!(choices, separated by commas),!Taxable!="True",!Taxable!="False">>

 

 The command <<*IF followed by the appropriate argument 'all' or 'any' (in parenthesis), closed by the '*'

 The !Groupname! surrounded by !'s

 The list of choices to be compared, enclosed in quotes, separated by commas.

 A comma that separates the 'If' part of the equation from the 'then' parts.

 The If true part.

 A comma that separates the 'If True' part from the 'If False' part.

 The If false part

 The closing boundary mark '>>'

AskTable:

<<*AskOptions(radio)*!Type of Deed!Standard Deed/Deed of Gift/Marital Settlement Deed/Deed of Trust*>>

<<*IF(any)*!Type of Deed!"1,5",!Taxable!="True",!Taxable!="False">>

 

Body text:

{!Taxable!The tax due on the recording of this deed is $[Tax Due]/NEGOPTNo tax is due upon the recording of this deed.}

(You can copy and paste the above into a Word document and press Alt-P to process it. You can modify it as desired. Remember, Pathagoras plain text means no fields to type, no fields to break. )