

InterviewSolution
Saved Bookmarks
1. |
Solve : Variables in For Loops (And If statements)? |
Answer» <html><body><p>It seems Variables I declare within a FOR loops (or if statements) are getting <a href="https://interviewquestions.tuteehub.com/tag/forgotten-7375779" style="font-weight:bold;" target="_blank" title="Click to know more about FORGOTTEN">FORGOTTEN</a> about <a href="https://interviewquestions.tuteehub.com/tag/right-239192" style="font-weight:bold;" target="_blank" title="Click to know more about RIGHT">RIGHT</a> away. The %%A of the FOR head works fine throughout the loop but a simple<br/><br/>SET TEST=%%A<br/><br/>will vanish...<br/><br/>Any idea why?Please show your script.He's deleted his acoount; I expect he found out about <a href="https://interviewquestions.tuteehub.com/tag/delayed-431487" style="font-weight:bold;" target="_blank" title="Click to know more about DELAYED">DELAYED</a> expansion.<br/></p></body></html> | |