Article ID: 197827
Article Last Modified on 1/23/2007
{ask gender "What is the person's gender?"}
--> {if gender = f {set pronoun she}{set pronoun he}}
{ref pronoun}
always show the bookmark "pronoun" as "he". This is because Word evaluates
fields from the inside out and from left to right. It evaluates the first
SET statement, and the bookmark "pronoun" is set to "she". It then
evaluates the next SET field, and the bookmark "pronoun" is reset to "he".
When the IF instruction is carried out, both the true bookmark and the
false bookmark are "he".
{ask gender "What is the person's gender?"}
--> {set pronoun {if gender = f "she" "he"}}
{ref pronoun}
Additional query words: winword2 define assign wrong value incorrect
Keywords: kbfield kbprb KB197827