06-27-2024, 09:59 PM
Of course, I couldn’t sleep because I really wanted to find the reason for the incorrect loading of the saved data.
Here's what I discovered.
In the file, the name of a variable and the value of that variable are separated by a space.
When I wrote code, I sometimes put several spaces in a row between the variable name and the "=" sign to make the text easier to read.
Therefore, when saving data to a file, the method writes additional spaces, the "=" sign, and all characters up to the end of the line as VALUE.
I see this in the Client window when displaying controlled parameters.
In addition, the VALUES of the lists are not saved. Only list names that are assigned to variables are saved.
If it's hard to fix, please tell me. Then I'll go the other way.
Thank you very much.
Here's what I discovered.
In the file, the name of a variable and the value of that variable are separated by a space.
When I wrote code, I sometimes put several spaces in a row between the variable name and the "=" sign to make the text easier to read.
Therefore, when saving data to a file, the method writes additional spaces, the "=" sign, and all characters up to the end of the line as VALUE.
I see this in the Client window when displaying controlled parameters.
In addition, the VALUES of the lists are not saved. Only list names that are assigned to variables are saved.
If it's hard to fix, please tell me. Then I'll go the other way.
Thank you very much.