Very dangerous problem with the function find on android when the dictionnary is the input_dict
Posted: May 8th, 2017, 6:53 am
Very dangerous problem with the function find on android when the dictionnary is the input_dict : find (input_dict,=,keystring).
Hi all,
I faced a problem last time and i shared it on the forum ENTRY the subject of that post was « Cspro reset my inputData each time i run .pff on android, why ? »
Finally i saw that the problem was the using of function find in the input dictionnary.
If you have two .pff : menu.pff and survey.pff,
You run menu.pff to fill informations to generate the survey.pff.
If on the survey.ent, you use a code like
Find(survey_dict,=,keystring),
When you finish to collect data and you run menu.pff with the same information, it is suppose to open the file that you have already create to continue to collect information, but, on android it erase the existing file and create an empty file.
The problem don’t occur on windows.
when i delete the line of program containing Find(survey_dict,=,keystring), the data file is not delete, and when i activate that line, the data file is deleted. i can conclude that it is the fact to find in the input dict who is not well manage in android.
So, please look that function Find very well for the next version of Cspro !
Thanks.
Hi all,
I faced a problem last time and i shared it on the forum ENTRY the subject of that post was « Cspro reset my inputData each time i run .pff on android, why ? »
Finally i saw that the problem was the using of function find in the input dictionnary.
If you have two .pff : menu.pff and survey.pff,
You run menu.pff to fill informations to generate the survey.pff.
If on the survey.ent, you use a code like
Find(survey_dict,=,keystring),
When you finish to collect data and you run menu.pff with the same information, it is suppose to open the file that you have already create to continue to collect information, but, on android it erase the existing file and create an empty file.
The problem don’t occur on windows.
when i delete the line of program containing Find(survey_dict,=,keystring), the data file is not delete, and when i activate that line, the data file is deleted. i can conclude that it is the fact to find in the input dict who is not well manage in android.
So, please look that function Find very well for the next version of Cspro !
Thanks.