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

GenoPro Support Forum




Grouping the code into a single .vbs file

Click to view RSS...
Author
Posted Friday, July 7, 2006 - Post #11767
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

Today I was translating, in French, the phrase “PhFamilyWith”. It should have been a simple matter but instead took me a full day to work out the coding. I don’t pretend to be proficient in vbs programming but what I discovered surprised me:

When the parameter “fHideFamilyDetails” = “N”, the codes to be written to the individual.htm files are initiated from within the script file “Lang.vbs” but when the said parameter = “Y”, the codes are initiated from within the “Individual.htm” template file.

Unless I miss something, I think the codes should not be split as they are now but all of them should be grouped together from within a single vbs script file. It will, I believe, make the codes more optimized and also make the debugging process far easier (especially for these language translations).

Unless it is Genopro’s intention, as Jean-Claude said somewhere, to possibly rewrite the whole report generator codes in C++.

 

Thank you.

Edited: Saturday, July 8, 2006 by GenoProSupport


Threaded View

Expand / Collapse


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse