06-28-2024, 01:15 PM
(translated by Google translator)
Here's what I found in the saved variables file.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
. (from File) . . . . . . . . . . . . . . . . . . . . (from Code)
number_of_sequences = 624 . . . . . Text.Append("number_of_sequences = ", number_of_sequences)
number_of_dead_snakes = 2 . . . . . Text.Append("number_of_dead_snakes = ", _stat_deadSnakes)
Level of training(%) = 101 . . . . . . . Text.Append("Level of training(%) = ", _x)
Ratio = 23. . . . . . . . . . . . . . . . . . . . Text.Append("Ratio = ", Math.Floor(_stat_caughtRabbits/_x))
lis_SequenceLevel[i] = . . . . . . . . . . Text.Append("lis_SequenceLevel[i] = ", LDList.GetAt(lis_SequenceLevel, n_sequenceNumber))
number_of_sequences = = 624 . . . Text.Append("number_of_sequences = ", number_of_sequences)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The saved variables file contains lines in which the method saved the "Text.Append()" function ARGUMENTS as variables.
When reading the file, the "number_of_sequences" variable received an incorrect value. I was able to notice this because the strings "Level of training(%)", "Ratio" and "lis_SequenceLevel[i]" are not variables at all.
Am I correct in thinking that it is better to use the "LDList.Write()" method to save lists, and "LDSettings." to save variables?
Thank you.
Here's what I found in the saved variables file.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
. (from File) . . . . . . . . . . . . . . . . . . . . (from Code)
number_of_sequences = 624 . . . . . Text.Append("number_of_sequences = ", number_of_sequences)
number_of_dead_snakes = 2 . . . . . Text.Append("number_of_dead_snakes = ", _stat_deadSnakes)
Level of training(%) = 101 . . . . . . . Text.Append("Level of training(%) = ", _x)
Ratio = 23. . . . . . . . . . . . . . . . . . . . Text.Append("Ratio = ", Math.Floor(_stat_caughtRabbits/_x))
lis_SequenceLevel[i] = . . . . . . . . . . Text.Append("lis_SequenceLevel[i] = ", LDList.GetAt(lis_SequenceLevel, n_sequenceNumber))
number_of_sequences = = 624 . . . Text.Append("number_of_sequences = ", number_of_sequences)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The saved variables file contains lines in which the method saved the "Text.Append()" function ARGUMENTS as variables.
When reading the file, the "number_of_sequences" variable received an incorrect value. I was able to notice this because the strings "Level of training(%)", "Ratio" and "lis_SequenceLevel[i]" are not variables at all.
Am I correct in thinking that it is better to use the "LDList.Write()" method to save lists, and "LDSettings." to save variables?
Thank you.