meaning for fortran statement


by agalya
Tags: fortran, meaning, statement
agalya
agalya is offline
#1
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 Phys.org
SensaBubble: It's a bubble, but not as we know it (w/ video)
The hemihelix: Scientists discover a new shape using rubber bands (w/ video)
Microbes provide insights into evolution of human language
jtbell
jtbell is offline
#2
Oct25-09, 09:37 AM
Mentor
jtbell's Avatar
P: 11,255
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