Hi everybody. I am trying to debug a code containing 33000 lines which has been developed in earlier fortran compilers. Running this code in Visual Studio 2010 reveals a series of problems/errors. For instance, the values of certain variables change when I put a write statement in the code. As soon as I remove (comment) the line the value of the variables changes back. Can anyone help me and tell me what the source of problem would be.
I think there are un-initialized (or undefined) variables in the code which results to this behavior. If this is so, can anyone tell me what the best way is to detect them or force the compiler to give error compilation in these cases.
I appreciate the the helps.
Thanks




