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

Error in compile

JohnNichols
Geschätzter Beitragender III
173Aufrufe
write(*,9)

 

where 9 is an undefined format does not throw an error or warning.  I had a stack drawing a straight line in the output, deleted 9 and it all kept compiling, pretty sure that is not a good idea.

Whoever said arithmetic if's are a bad idea is a Fortran Saint now. 

0 Kudos
1 Antworten
Steve_Lionel
Geehrter Beitragender III
145Aufrufe
t.f90(1): error #6052: This label has not been defined as a FORMAT label.   [9]
write(*,9)
--------^
compilation aborted for t.f90 (code 1)

D:\Projects>

How about providing a compilable source that reproduces the problem? These minimal snippets waste everyone's time.

Antworten