Hi
I started to use Code::Block IDE to write and compile my fortran code recently. I was able to successfully compile and run a code and obtained results.
This past week end I had to remove some programs on my laptop because it was getting full. When I came back to my code and recompile it I got the following errors:
For the following fortran statement :
The error message:
“Error: Function 'time' has no IMPLICIT type”
For the following fortran statement :
The error message:
D:\MSDEV\Projects\Pixel8\X-BeamSimulation\Pixel8SnglBeamSimMC\main.f90|2258|D:\MSDEV\Projects\Pixel8\X-BeamSimulation\Pixel8SnglBeamSimMC\main.f90 2258 .35:|
“Error: Keyword argument requires explicit interface for procedure 'system' ”
Note: that the 2258 point to the line number in the code where this statement appear and 35 points to the character number where the error start in this case iResult.
Keep in mind that this code compiled and ran correctly before. I checked the environment variable and made sure I point correctly to the \include & \lib folder. Any ideas????
What did I do wrong???
I started to use Code::Block IDE to write and compile my fortran code recently. I was able to successfully compile and run a code and obtained results.
This past week end I had to remove some programs on my laptop because it was getting full. When I came back to my code and recompile it I got the following errors:
For the following fortran statement :
Code:
Stamp = CTIME(TIME())
The error message:
“Error: Function 'time' has no IMPLICIT type”
For the following fortran statement :
Code:
Call SYSTEM(sCommand, Status=iResult)
D:\MSDEV\Projects\Pixel8\X-BeamSimulation\Pixel8SnglBeamSimMC\main.f90|2258|D:\MSDEV\Projects\Pixel8\X-BeamSimulation\Pixel8SnglBeamSimMC\main.f90 2258 .35:|
“Error: Keyword argument requires explicit interface for procedure 'system' ”
Note: that the 2258 point to the line number in the code where this statement appear and 35 points to the character number where the error start in this case iResult.
Keep in mind that this code compiled and ran correctly before. I checked the environment variable and made sure I point correctly to the \include & \lib folder. Any ideas????
What did I do wrong???