Many documents prepared for clients are practically mirror images of each other. A classic 'I Love You Will' set (where all property is given to the surviving spouse, and for the second to die, that property is to be evenly among the children) can, with a proper setup, be produced in a single run. One example of a 'reversal' is provided at this link. (There, the reversal is accomplished by manually 'reversing' the order of the variables in the second document to be created.

 The <<*Process*>> command (introduced in version 2021), in conjunction with the <<*Set*>> command gives you command line ability to 'reverse' or otherwise reset values. Initial values can be set and the document, up to the <<*Process*>> label, will be processed based on those values.Everything below <<*Process*>> is ignored until the top portion is fully processed. Then, the portion below <<*Process*>> is processed. Any <<*Ask*>> and <<*Set*>> commands are separately honored for that bottom portion. (Since there is nothing left to process at the 'top, the only the 'bottom' will be controlled by the new settings.' If a second (or subsequent) <<*Process*>> command is encountered, the routine described above is repeated until no further <<*Process*>> commands are encountered.

 Example:

 

<<*Set!Testator!="1(2)">>

Last Will and Testament of

{!Testator![HUSBAND NAME]/OR[WIFE NAME]}

   I, {Testator![Husband Name]/OR[Wife Name]}, being of sound mind, make this document my Last Will and Testament.

   1. I give all of my property and estate to my {Testator!wife/ORhusband}, {!Testator![Wife Name]/OR[Husband Name]}

   2. I appoint my {!Testator!wife/ORhusband}, {!Testator![Wife Name]/OR[Husband Name]} to be my Personal Representative.

                                           

       ________________________

                                              {!Testator![Husband Name]/OR[Wife Name]}

<<*Process*>>

<<*Set*!Testator!="2(2)">>

Last Will and Testament of

{!Testator![HUSBAND NAME]/OR[WIFE NAME]}

   I, {Testator![Husband Name]/OR[Wife Name]}, being of sound mind, make this document my Last Will and Testament.

   1. I give all of my property and estate to my {Testator!wife/ORhusband}, {!Testator![Wife Name]/OR[Husband Name]}

   2. I appoint my {!Testator!wife/ORhusband}, {!Testator![Wife Name]/OR[Husband Name]} to be my Personal Representative.

                                           

       ________________________

                                              {!Testator![Husband Name]/OR[Wife Name]}

 

 

The main difference between this reversal and the one illustrated at the link above is that the identical language can be used for both documents. Indeed, the text itself can be called in via a document call, so that one a single document need be edited. Here is an example

<<*Set*!Testator!="1(2)">>

<<I Love You Will Base>>

<<*Process*>>

<<*Set*!Testator!="2(2)">>

<<I Love You Will Base>>

 

The above can be copied and pasted into a Word document and saved as "I Love You Will.docx" The 'Will' text (just one copy, minus the commands) can be saved in the same folder as "I Love You Will Base.docs". (Names just suggestions. Call them anything you want. When processes, Pathagoras will run the first 'base' with the group !Testator! set to the first position. Once it has fully processed, the group !Testator! is reset to select the second position. A second copy of 'base' is inserted and processed as requested. Note: A section break is inserted by the command at the '<<*Process*>> line so that headers and footers that may be in the 'base' document are kept separate.

 

Note: This was designed to enable reversals of simple documents such as indicated above. Long and complex documents, with multiple sections and orientation changes will not 'reverse' well.