Register to reply

Meaning for fortran statement

by agalya
Tags: fortran, meaning, statement
Share this thread:
Oct25-09, 07:36 AM
P: 9
Hi all,

What is the meaning of the following Fortran statement

IF ( IP - I1 ) 180, 170, 180

kindly help,
thank u,
Phys.Org News Partner Science news on
Sapphire talk enlivens guesswork over iPhone 6
Geneticists offer clues to better rice, tomato crops
UConn makes 3-D copies of antique instrument parts
Oct25-09, 09:37 AM
jtbell's Avatar
P: 11,616
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.

Register to reply

Related Discussions
Commenting out a WRITE statement in FORTRAN 95 causes changes in non-related outputs Programming & Computer Science 3
What is the difference between personal statement and statement of purpose Career Guidance 5
Fortran 90 very basic question : else if statement Programming & Computer Science 6
Accessing Fortran Modules within a Fortran library from Fortran Programming & Computer Science 0