Options and Document Calls

<<*Options(radio)*Married, No Children/Married, 1 Child/Married, 2 Children/Married, 3+ Children/Single, No Children/Single, 1 Child/Single, 2 Children/Single, 3+ Children*

<<Family, M,0>>/

<<Family, M,1>>/

<<Family, M,2>>/

<<Family, M,3+>>/

<<Family, S,0>>/

<<Family, S,1>>/

<<Family, S,2>>/

<<Family, S,3+>>


<Alt-P> to 'p'rocess. When the document is processed, you can choose the appropriate family structure from prompts (immediately following the 'Options(radio)' command. (Remember, the '(radio)' argument in the command limits user to choosing only one selection.)

The actual choices are the document calls inside the individual << and >> markers. The choice are presented without full path and the extension. They are not needed if the documents residedin a 'Hunt Path' location.  

When the selection is made and confirmed, Pathagoras deletes the text associated with the 'unchosen' items. Therefore, only one document call will remain. After that initial processing, Pathagoras re-scans the document. It find the document call and searches for the referenced document in the 'hunt path. When found, Pathagoras inserts its content in place of the document call. It's very simple, but very elegant.

Resources: Options(Radio) Prompts Document Calls Hunt Path