PDA

View Full Version : meaning for fortran statement


agalya
Oct25-09, 08:36 AM
Hi all,

What is the meaning of the following Fortran statement

IF ( IP - I1 ) 180, 170, 180

kindly help,
thank u,

jtbell
Oct25-09, 10:37 AM
This is an "arithmetic IF" statement.

If IP - I1 < 0, go to statement 180.
If IP - I1 = 0, go to statement 170.
If IP - I1 > 0, go to statement 180.

You must be reading very old code. :smile: