13.07.2015 Views

A Brief Introduction to Fortran 77 - Polaris

A Brief Introduction to Fortran 77 - Polaris

A Brief Introduction to Fortran 77 - Polaris

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

’AB’ // ’DE’Relation opera<strong>to</strong>rs compare the values of expression andproduce a logical value of true or false. The relation opera<strong>to</strong>rshave lower precedence than arithmetic opera<strong>to</strong>rs.The relation opera<strong>to</strong>rs are:.LT. Less than.LE. Less than or equal <strong>to</strong>.EQ. Equal <strong>to</strong>.NE. Not equal <strong>to</strong>.GT. Greater than.GE. Greater than or equal <strong>to</strong>For example,if (a*b .gt. c-1) then ...logical qq = t-1 .gt. 5if (q) then ...© 1998 David A. Padua14 of 118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!