Out of curiosity, and a desire to learn, I have been playing with fact sentences. (At present taking priority over crosswords and Sudoku!)
In the shared census fact child role for the ‘sharee’ I am trying to construct a sentence that will take the following form:
In the [date:year] census [thisperson:first] [Thisperson:age:commas] was living with<% his | her > ............
............ father or mother depending on sex of principal,...........
<[placedetails]> [place:first] <[person:role]>.
The difficulty is establishing the sex of the principal without printing a name. I think that it’s all to do with switching the focus back to the principal role. I appreciate that I could change the syntax and use the sharee [desc] field, but I think it would be useful to learn more about changing focus and switches.
Associated with this is there a way of getting properties of any field without printing the field itself?
Finally apart from the book and help files is there a more detailed source of sentence examples? I am particularly looking for guidance on ‘nesting’.
Hope that someone can help even if I am asking the impossible!