Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

program_name syntax

davidnz
Beginner
227 Views

In the past I have successfully compiled Fortran programs with a program_name beginning with a numerical character, e.g.

      program 2test

When I used that syntax today I encountered the following error message:

error #5082: Syntax error, found INTEGER_CONSTANT '2' when expecting one of : <IDENTIFIER>

What is the correct syntax for a program_name in the program statement?

What could explain a change in compiler behaviour?

Thanks for any advice.

Labels (1)
0 Kudos
1 Solution
JNichols
New Contributor I
196 Views

https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-... 

 

Search google intel Fortran names explains it -- google all questions like this as it is much faster 

View solution in original post

1 Reply
JNichols
New Contributor I
197 Views

https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-... 

 

Search google intel Fortran names explains it -- google all questions like this as it is much faster 

Reply