Abstract
The array has always played a central role in Fortran programming, and in recognition of this, the Fortran 90 standard supports many new features to facilitate array handling. Traditionally, in Fortran expressions like a + 3 * SQRT (b), a and b have been restricted to taking on scalar values, but in Fortran 90, a and b may be arrays in such an expression, in which case the expression evaluates to an array of values. In this connection, Fortran 90 permits every element of an array to be given a value using a single statement. For example, if a and b are arrays that have previously been given values, then all the elements of array c may be given values using an assignment statement such as
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1995 Springer-Verlag New York, Inc.
About this chapter
Cite this chapter
Redwine, C. (1995). Arrays. In: Upgrading to Fortran 90. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-2562-1_4
Download citation
DOI: https://doi.org/10.1007/978-1-4612-2562-1_4
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