meaning for fortran statement

by agalya
Tags: fortran, meaning, statement
agalya is offline
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
Going nuts? Turkey looks to pistachios to heat new eco-city
Space-tested fluid flow concept advances infectious disease diagnoses
SpaceX launches supplies to space station (Update)
jtbell is offline
Oct25-09, 09:37 AM
jtbell's Avatar
P: 11,232
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