Search: in
Arithmetic IF
Arithmetic IF Encyclopedia
  Tutorials     Encyclopedia     Dictionary     Directory  
Arithmetic_IF Email this to a friend      Arithmetic_IF

Arithmetic IF

The arithmetic IF statement has been for several decades a three-way arithmetic conditional statement, starting from the very early version (1957) of Fortran, and including FORTRAN IV, FORTRAN 66 and FORTRAN 77. Instead of the common if statements seen in other languages, the statement defines three different branches depending on whether the result of an expression was negative, zero, or positive, in said order, written as:

    IF (expression) negative,zero,positive

While it was originally the only kind of IF statement provided in the language, the feature became more and more unused after the introduction of the more powerful and common logical IF statement, so that it was finally labeled obsolescent in Fortran 90 .

See also

Reference





Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Related Links in Arithmetic IF

Search for Arithmetic IF in Tutorials
Search for Arithmetic IF in Encyclopedia
Search for Arithmetic IF in Dictionary
Search for Arithmetic IF in Open Directory
Search for Arithmetic IF in Store
Search for Arithmetic IF in PriceGig


Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor

Advertisement

Advertisement



Arithmetic IF
Arithmetic_IF top Arithmetic_IF

Home - Add TutorGig to Your Site - Disclaimer

©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement