Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USE OF " IF " STATEMENT 1

Status
Not open for further replies.

lesaadmi

Technical User
Aug 29, 2012
11
MX
Hello,

I have a piece of fortran code that is specified as follows:

if(ipot1-2) 418, 419, 420

but as you can see the logical expression (ipot1-2) is not a contitional. I have not seen this before. Can anyone tell me what does it mean?

I would really appreciate any help.
 
Nice tip, very helpful, thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top