Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error in a counter

6 views
Skip to first unread message

Anf

unread,
Oct 9, 2010, 3:41:48 PM10/9/10
to
Hi,
I have a program written in fortran and it has a counter in one
subroutine (first) and it is defined in a common file.I found out this
counter gets updated in to a very very lerge number when a different
subroutine (second) is run .This second subrotine does not have that
counter in it. While checking with debugging tools found that this
counter change it's value to a large number when the second subrouitne
returs its value to the main program.
I could not find a reason for that .
Any input on this is appreciated.
Thanks!
Anf
0 new messages