Skip to main content

Control Constructs

  • Chapter
Upgrading to Fortran 90
  • 253 Accesses

Abstract

By the 1970s there was widespread agreement among software professionals that code that relies on GO TO statements is generally harder to understand and maintain than code without GO TOs. But all of the popular Fortran implementations of the day required heavy use of GO TO statements since they lacked even such basic control structures as IF-THEN... END IF and WHILE. To overcome this weakness, a number of organizations independently developed computer programs known as “structured programming precompilers” (or “preprocessors”). The programmer then interspersed statements such as IF-THEN, CASE, WHILE, and REPEAT UNTIL with traditional Fortran code, and the precompilers translated the mixture into ordinary Fortran. The resulting translation was then compiled in the usual way. However, these precompilers were incompatible with one another, and when the FORTRAN 77 implementations became available in the 1980s, the structured programming precompilers faded away. Nevertheless, the precompilers have had a lasting influence on the thinking of those who used them and on the design of subsequent versions of the language, including Fortran 90.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1995 Springer-Verlag New York, Inc.

About this chapter

Cite this chapter

Redwine, C. (1995). Control Constructs. In: Upgrading to Fortran 90. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-2562-1_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-2562-1_3

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-97995-3

  • Online ISBN: 978-1-4612-2562-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics