Register to reply

Meaning for fortran statement

by agalya
Tags: fortran, meaning, statement
Share this thread:
agalya
#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
Hoverbike drone project for air transport takes off
Earlier Stone Age artifacts found in Northern Cape of South Africa
Study reveals new characteristics of complex oxide surfaces
jtbell
#2
Oct25-09, 09:37 AM
Mentor
jtbell's Avatar
P: 11,602
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