19.2 Summary
Another type of data — logical — is also recognised. A LOGICAL variable may take one of two values — true or false.
-
There are special operators for manipulating logicals:
-
.NOT.
-
.AND.
-
.OR.
-
-
Logical operators have a lower order of precedence than any others.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Springer-Verlag London Limited
About this chapter
Cite this chapter
(2006). Logical. In: Introduction to Programming with Fortran. Springer, London. https://doi.org/10.1007/1-84628-054-0_19
Download citation
DOI: https://doi.org/10.1007/1-84628-054-0_19
Publisher Name: Springer, London
Print ISBN: 978-1-84628-053-5
Online ISBN: 978-1-84628-054-2
eBook Packages: Computer ScienceComputer Science (R0)