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

GenoPro Support Forum




Any arguments limitation in narrative phrases?

Click to view RSS...
Author
Posted Friday, July 28, 2006 - Post #12100
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'm reviewing the translation of "PhFamilyWith" narrative phrase. I added a 4th and 5th argument in Lang.vbs and in the dic phrase. The arg No 4 was OK but the system doesn't accept the arg No 5 giving this error at gene time: 

Error in FormatPhrase - Not enough arguments for template '{3} [{1} ]{5} {4}{0} avec {2}'. Argument index {5} is out of range.

I'd like to know if there is a limitation on the arguments quantity or am I doing something wrong?

Addendum: I only get the error message when the parameter fHideFamilyDetails = "Y"

Edited: Friday, July 28, 2006 by jcguasp

Posted Friday, July 28, 2006 - Post #12101
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 3,337, Visits: 25,588
I've used 13 arguments so 6 (0-5) is certainly OK. What is your code line where PhFamilyWith is referenced? You must supply all 6 arguments in each call.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Friday, July 28, 2006 by Ron
Posted Friday, July 28, 2006 - Post #12106
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
Ron,

My mistake. I forgot that for that particular phrase generation, the codes when fHideFamilyDetails = "N", are located in Lang.vbs.

When set to "Y", the codes are in the Ind.htm template. Hoops. It's OK now.

Posted Friday, July 28, 2006 - Post #12107
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: Thursday, April 11, 2024
Posts: 4,881, Visits: 22,753
jcguasp (7/28/2006)
I'd like to know if there is a limitation on the arguments quantity

GenoPro does not have any limit on the number of arguments.  There is a limit however.  This limit is probably a few thousand arguments determined by the specifications of the scripting language (VBScript, JavaScript) or by the memory allocated for the stack.

Edited: Friday, July 28, 2006 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse