- #1
Bashkir
- 31
- 1
I am sitting down and working my way through a Fortran 90/95 book for a research project I will be involved in at my university in a few weeks. However, I can't even seem to get the most basic program to work even when copying the template directly from the book. It always says invalid character at (1). For instance, my Hello World program was formatted as such:
PROGRAM Hello_world
WRITE(*,*) "Hello, World!"
END program Hello_world
Then, I saved it as hello.f90.
When I go to try to compile it, it keeps giving me an an invalid program statement at (1) and several other invalid character at (1) errors.
I am using the Terminal on Linux and VIM if that matters.
PROGRAM Hello_world
WRITE(*,*) "Hello, World!"
END program Hello_world
Then, I saved it as hello.f90.
When I go to try to compile it, it keeps giving me an an invalid program statement at (1) and several other invalid character at (1) errors.
I am using the Terminal on Linux and VIM if that matters.