Quoted from Emanuele
However this is a complex code and it is not mine, so modifying it would require a lot of time.
Whether you modify the old code or not, you still need to ascertain whether it requires that some (or, perhaps, all) local variables need to be saved, and whether some (or all) variables need to be initialized to zero. Note, in addition, that if you have logical and character type variables initializing them to zero is a dubious thing to do.
If I understand correctly what wahorger said, /save option does not preserve the values of the variables between successive calls of the routines. Can you confirm this?
No, /save DOES preserve the values. That is the whole purpose of /save.
You may be a little puzzled by needing to use /zero when /save has been used. The /save option guarantees that when the subprogram is [u:28633a8fde]entered [/u:28633a8fde]the 2nd, 3rd, etc., time, the SAVEd variables will have the same values as they did after the same subprogram was [u:28633a8fde]exited [/u:28633a8fde]the 1st, 2nd, etc., times. Note that this does not cover the initial values of the same variables when the subprogram is [u:28633a8fde]entered [/u:28633a8fde]the 1st time. That is where /zero or user-supplied initialization comes in.