Slug, This is for all you fortran gurus :)
bear with me - my knowledge of fortran and its operations is very limited - first year engineering to be precise! I have two fortran files which have the .PRN extension (why i am not sure, just the way they were when they were given to me) i need to be able to run these scripts to generate fatigue data, one file is used to edit and input the required data (weights), the other is the script that contains all the polynomial coefficents and equations. So my first problem is : i am not sure what fortran version these files are - is there a way which one can distinguish between fortran 50, 51, 77, 90 and 95?? Next i require a compiler to be able to run the scripts and obtain the data, i have checked several compilers, one of which is g77 on debian, which i have installed and i believe is working correctly. Does debian have compilers for the other fortran formats? if so does anyone know the package names? Ideally i would like to translate these scripts into a language which is more user friendly (for me) like matlab, has anyone had any success converting old fortran scripts into other languages?? I have found a perl script which claims to convert fortran files to .m files but it does not handle 'GOTO" - my scripts have a whole stack of these :( hence when i tried it i got several errors) FYI the perl script comes from http://www.math.umn.edu/mcim/rm314/currcourses.shtml and the error i get when trying to convert: [EMAIL PROTECTED]:~/belfast$ perl f77toM.pl ebel.for Can't modify reference constructor in list assignment at f77toM.pl line 465, near ");" Execution of f77toM.pl aborted due to compilation errors. [EMAIL PROTECTED]:~/belfast$ again i do not know a great deal about perl either so i am not sure what this error means. If anyone can help regarding this it would be greatly appreciated - unfortunately i cannot post the entire scripts since they are propriety and contain sensitive data.(I can post bits of it though if it may help) Best Regards gerard -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
