Hi All, I was reading about whileopt. To make it work well, one of the requirements is to create all of the variables outside of the while loop. I assume (correct me if I am wrong please) that this also applies to any RUN statements within the while loop.
How do professional programmers create variables? Do they create all variables needed at the beginning of the application including all the sub routines? Should subroutines not be allowed to create variables just in case they are ever used within a while loop? Does having hundreds of variables created at the beginning of a large application make sense? TIA Mike

