GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Meaning of curly braces codes in narrative phrases?

Click to view RSS...
Author
Posted Saturday, March 4, 2006 - Post #10515
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
I browsed your information page "util.formatstring" method and cannot find any explanation regarding the following curly braces codes as shown within the dictionary.xml narrative phrases: {!0}, {?1}, {?!3}, {?2^3} and {?2|3}, the arguments numbers being for illustration purpose only.

I personnally figured them out, I think!, but it would be a good idea to explain to everyone in black and white the meaning of each character. Thanking you.

Posted Saturday, March 4, 2006 - Post #10516
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.1

Last Login: Monday, May 12, 2025
Posts: 952, Visits: 10,077
The documentation for the report generator is incomplete.  If you have a specific question, just ask it to this forum.

Edited: Saturday, March 4, 2006 by GenoProSupport
Posted Saturday, March 4, 2006 - Post #10518
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
In this case, I would like to know the exact meaning of the caret ^ and the vertical bar within the above braces. Thank you.
Posted Saturday, March 4, 2006 - Post #10522
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
The caret ( ^ ) is a substitute of the logical-AND operator ( & ).  The benefit of using a caret is making it easier to read the code.  Both caret ( ^ ) and ampersand ( & ) can be used interchangeably,  however the XML standard requires the ampersand to be encoded to either "&" or "&" or "&#x26", while the caret can be typed directly into the XML without any special encoding.
Posted Saturday, March 4, 2006 - Post #10528
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
Thanks for the answer. I suppose the vertical bar stands for "OR".
Posted Saturday, March 4, 2006 - Post #10529
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
jcguasp (3/4/2006)
I suppose the vertical bar stands for "OR".

Yes.  The exclamation ( ! ) stands for "NOT" (negation).

There is the full documentation of the phrase generator.

Edited: Wednesday, June 14, 2006 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse