Declaring Arrays

N.B. :

Form one:
    INTEGER, DIMENSION(1:11) :: A_1, A_2, A_3     ! -- rank 1, size 11;
    INTEGER, DIMENSION(11)   :: A_4               ! -- rank 1, size 11;

    REAL, DIMENSION(-12:12)  :: B                 ! -- rank 1, size 25;

    REAL, DIMENSION(1:4,1:4) :: my_matrix         ! -- rank 2, size 16;
    REAL, DIMENSION(4,4)     :: my_other_matrix   ! -- rank 2, size 16;

    CHARACTER(LEN=3), DIMENSION(0,99) :: months

Form two:
    INTEGER :: A(11), AA(0:10), AAA(-1:9)         ! -- rank 1, ALL size 11;


...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_course_fortran_90/_reml_grp/index.reml
On: 10/2/2003 at 10:33:52
Options: reml2 -i noindex -l long -o html -p multiple