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
Experts defend operational earthquake forecasting, counter critiques
EU urged to convert TV frequencies to mobile broadband
Sierra Nevada freshwater runoff could drop 26 percent by 2100
Oct25-09, 09:37 AM
jtbell's Avatar
P: 11,787
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