- #1
speculater
- 3
- 0
1. Hello, I'm doing undergraduate research which requires the use of Fortran. I have one particle line of code that is not allowing me to compile the source. I was wonderding if someone can help?
909 FORMAT(i3,2x,<nvmax>(<nvmax>i1,2x),2x,i4)
2. Provides the error message:
../gensc.f90:289.18: Error: Unexpected element '<' in format string at (1)3. I'm not very familiar with the language yet, but I did try breaking up the code into two lines with the use of &&. I've also tried inserting spaces between all the "<" and ">". Any help would be greatly appreciated.
909 FORMAT(i3,2x,<nvmax>(<nvmax>i1,2x),2x,i4)
2. Provides the error message:
../gensc.f90:289.18: Error: Unexpected element '<' in format string at (1)3. I'm not very familiar with the language yet, but I did try breaking up the code into two lines with the use of &&. I've also tried inserting spaces between all the "<" and ">". Any help would be greatly appreciated.
Last edited: