Got it! Thank you very much!
I have read the related examples, and noticed that Variable is defined in the loop. I did not know it is necessary to do like this.
Thank you, Adam, for your instruction again!