Silverfrost Forums

Welcome to our forums

Debug my programs

12 Jul 2005 2:56 #233

Sir/Madam:

I am trying to use some of old fortran programs to work with Salford FTN95 This program works when I use Visual Fortran (1997 Ver 5.0 which does not exist any more). When I compile & build the fixed format fortan files using FT95, I get a whole series of warnings but nothing fatal - *.obj files are created successfully. But when I run the executable, I am getting a fatal error - array subscripts out -of- bonds. Could you please, please, please, help me debug !!!!.

How can post my programs on the forum so that some one take a look at at the code and error file.

Thank you very much.

Gourish Sirdeshpande 717-396-5209 gsirdeshpande@armstrong.com

13 Jul 2005 2:21 #234

If you run the program using the debugger (use SDBG or use the startup options in Plato) then the program will run to the point where it fails.

You will then be able to see which array element has a subscript that is out of range.

Please login to reply.