Fundamentals of FORTRAN Programming |
From inside the book
Results 1-3 of 24
Page 279
... Array A ( b ) Array Element Names FIGURE 10-1 . Arrays and array elements . Each value in an array is called an array element . Thus , in the array in Fig . 10-1 ( a ) , the number 23.2 is an array element . Similarly , 17.5 , -10.8 ...
... Array A ( b ) Array Element Names FIGURE 10-1 . Arrays and array elements . Each value in an array is called an array element . Thus , in the array in Fig . 10-1 ( a ) , the number 23.2 is an array element . Similarly , 17.5 , -10.8 ...
Page 280
... array name . However , an array name may not be used by itself in a FORTRAN program except in a few specialized situations . An array name must normally be followed by a subscript to identify which element of the array is being identified .
... array name . However , an array name may not be used by itself in a FORTRAN program except in a few specialized situations . An array name must normally be followed by a subscript to identify which element of the array is being identified .
Page 307
Robert C. Nickerson. 10-6 . CHARACTER DATA ARRAYS An array may contain ... element in the array has the same length . In the above example , since an ... name is subscripted just like a numeric array element name . For example , CB ( 5 ) ...
Robert C. Nickerson. 10-6 . CHARACTER DATA ARRAYS An array may contain ... element in the array has the same length . In the above example , since an ... name is subscripted just like a numeric array element name . For example , CB ( 5 ) ...
Contents
COMPUTERS PROGRAMS AND DATA | 1 |
INTRODUCTION TO FORTRAN | 22 |
BASIC INPUT AND OUTPUT PROGRAMMING | 39 |
Copyright | |
15 other sections not shown
Common terms and phrases
algorithm arithmetic expression array element name array name assume binary number blank calling program causes the computer central processing unit Chapter character data columns computed GO computer's internal storage consider the following data to test decimal number decimal point digits DO-variable double precision dummy arguments END FIGURE end-of-file equal error example field flowchart following statements format codes FORMAT statement format-free FORTRAN 77 FORTRAN program GO TO 20 GO TO statement Hollerith constants identification number identified input and output input card input data integer logical expression logical IF statement machine language main program ment nested number of units number system output record problem processing program in Fig punched card READ statement read station relational expression result shown in Fig specified statement causes statement numbered storage location string subprogram subroutine subscript substring symbol terminal test scores test the program trailer card versions of FORTRAN Write a FORTRAN WRITE statement YES YES zero