|
|
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
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:45 PM
Posts: 3,422,
Visits: 26,443
|
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
|
|
|
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.
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, April 10, 2025
Posts: 4,886,
Visits: 22,776
|
jcguasp (7/28/2006) I'd like to know if there is a limitation on the arguments quantityGenoPro 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
|