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

The best solution is wanted.

Ivan_S_
초급자
481 조회수

How to make this code better in Fortran 2003?

[fortran]
IF A == 1 THEN
(STATEMENTS)
I

100 …
[/fortran]

0 포인트
3 응답
mecej4
명예로운 기여자 III
481 조회수

If the statement with number 100 occurs immediately after the IF...END IF block, all the statements similar to and including IF(B == 1) GOTO 100 are superfluous.

0 포인트
Ivan_S_
초급자
481 조회수

.NOT.(100 occurs immediately after the IF...END IF block)

0 포인트
JVanB
소중한 기여자 II
481 조회수

Check the logic in lines 03:04 and repost.

0 포인트
응답