This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
fortran 77
- From: ew fgff <sah_8 at yahoo dot com>
- To: fortran at gcc dot gnu dot org
- Date: Fri, 15 Oct 2004 15:45:18 -0700 (PDT)
- Subject: fortran 77
Hi,
I am using fortran 77.
-----------------------
real a
do 10 i = 1, 4
a = a + i
print*,a
10 continue
-----------------------
In the above code variable "a" is not initialized.
When this is executed by compiling with g77, it puts
some arbitrary initial value for "a".
Is there any option in g77 to initialize a
uninitialised variable?
Thank you very much.
Chandra
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com