Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Errors in getting results

Tom_L_1
Beginner
2,714 Views

Does anyone of you can help me please? I am very new to the FORTRAN and never used it before. I am using Visual Studio 2012 and I think it already has FORTRAN compiler inside the Visual Studio. Every time when I hit "start" to build my program to get results, it gives me the following two errors:

1) Error    1     error #5082: Syntax error, found '=' when expecting one of: ( , <END-OF-STATEMENT> ; <IDENTIFIER> <INTEGER_CONSTANT> <POUND_VAL> <INTEGER_KIND_CON> ...    C:\Users\tborisovich\Documents\Winter2015\New Folder\615\A2\Prog\Draft1_fixed.f90    39    

2) Error    2    Compilation Aborted (code 1)    C:\Users\tborisovich\Documents\Winter2015\New Folder\615\A2\Prog\Draft1_fixed.f90    1    

 

Why is that? 

 

                            

                                                                                                          

  

0 Kudos
23 Replies
rorban
Beginner
354 Views

Tom L. wrote:

 I know there are many books and sources online, but which one is good?

For someone learning programming and Fortran simultaneously, I recommend Chapman's "Fortran 95/2003 for Scientists and Engineers." I think that the Metcalf/Reid/Cohen book would be too difficult for someone who has never programmed in any computer language before.

0 Kudos
dboggs
New Contributor I
354 Views

I agree with Tom L. The classic text by Metcalf is very highly respected and authoritative, but it would make a lousy reference to learn programming from. The handbook by Adams, Brainerd et al. is more concise and a better "beginner's reference" but is still not in the style of a learning textbook.

0 Kudos
Steven_L_Intel1
Employee
354 Views

I concur on the Chapman book. Of the various Fortran texts I have seen, that is best suited to Tom L's need.

0 Kudos
Reply