Thanks for your note.
We would not be able to say for certain why the logic you created in your script is not functioning as you expect it to. If Size is a user-defined variable, you would simply call something like Print("Size: " + Size); to print out that variable.
If the NextSize variable is an int, you could print out the NextSize variable using something like Print("NextSize: " + NextSize);.
It would be up to you to continue debugging the logic you created in your script to find out why it is not behaving as you are expecting it to. I suggest adding debugging prints throughout your entire strategy to print out all the variables and conditions in the script so you can see exactly how all the logic is evaluating.
If you need assistance creating a debugging print, please let me know what you want to print out and I will be happy to assist.
Let me know if you have other questions.
Comment