vgummala
13 years agoOccasional Contributor
GetSubSection and GetOption Mechanism
Thanks for your help,
I need to understand the "GetSubSection" method mechanism, hence please let me know on this for below scenario.
1) INI file in Storages.INI
ProjectSuite.Variables.IniFilePath = Storages.INI(Files.FileNameByName("Test_INI"));
2) When I use ProjectSuite.Variables.IniFilePath.GetSubSection(TestID).GetOption(TestOption, "Not Exists"), what is the internal mechanism is been performed.
3) I also would like to know the above method depends on the size of INI file used. For eg : If INI file has 30000 lines with 3000 subsections and other with 100000 with 4000 subsections how would be the process time of ini file and its reliablity?
4) While assigning a section name to some variable whether the total ini file is brought into the memory till that variable persists (as in step - 1) or evertime it refers to INI file to get the value of specified option in the subsection (in step - 2).
Please provide us in detail about the mechanism followed in above scenarios and more in detail about GetSubSection and GetOption functions.
I need to understand the "GetSubSection" method mechanism, hence please let me know on this for below scenario.
1) INI file in Storages.INI
ProjectSuite.Variables.IniFilePath = Storages.INI(Files.FileNameByName("Test_INI"));
2) When I use ProjectSuite.Variables.IniFilePath.GetSubSection(TestID).GetOption(TestOption, "Not Exists"), what is the internal mechanism is been performed.
3) I also would like to know the above method depends on the size of INI file used. For eg : If INI file has 30000 lines with 3000 subsections and other with 100000 with 4000 subsections how would be the process time of ini file and its reliablity?
4) While assigning a section name to some variable whether the total ini file is brought into the memory till that variable persists (as in step - 1) or evertime it refers to INI file to get the value of specified option in the subsection (in step - 2).
Please provide us in detail about the mechanism followed in above scenarios and more in detail about GetSubSection and GetOption functions.