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

program_name syntax

davidnz
초급자
1,135 조회수

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.

레이블 (1)
0 포인트
1 솔루션
JNichols
새로운 기여자 I
1,104 조회수
0 포인트
1 응답
JNichols
새로운 기여자 I
1,105 조회수
0 포인트
응답