Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array out of bounds problem

Status
Not open for further replies.

Ator

Programmer
Jan 23, 2006
26
SE
Hi

Im working with very old fortran programs (made in 1980s).
Now I convert this old code using "Compaq Visual Fortran 6.6".

Because the program consists of hundreds of files, there are several bugs (that has been accepted by the compiler at that time).
Some of these are "array out of bounds" errors, when trying to index at position 0.

It is impossible to go through all code and change hundreds of variables to fix all these problems, so I wonder if there is any settings in Compaq Visual Fortran to ignore "array out of bounds" indexing?

kind regards
 
It is quite dangerous to leave such bugs in the code. It is probably due to spelling errors. Probably best to find out where the program is crashing and work backwards to find out what is causing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top