View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2877 Location: South Pole, Antarctica
|
Posted: Wed Apr 05, 2017 11:39 pm Post subject: Variable IJ should be an integer |
|
|
New interesting twist came from 64bit Fortran. I got the error above and by inertia though that debugger was wrong indicating this error because it still can miss the error by the line or two plus there were a lot of other ways to make a mistake in the long list of variables
Eventually after losing some time i realized that the confusion is because variable IJ is integer*8 or integer (7). So formally it is integer but it is not indicated by the compiler's debugger what kind of integer.
And here we return to these damn cryptic error messages from the 1960th era. Suggestion for error message
"Argument number 4 of WINIO@ (continuation 31) declared as integer (7) or Integer*8 should be integer*4 or integer kind... whatever" |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8037 Location: Salford, UK
|
Posted: Thu Apr 06, 2017 8:02 am Post subject: |
|
|
Thanks Dan. It should at least say INTEGER*4. |
|
Back to top |
|
|
|