September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
3
Task/Collections/Fortran/collections-1.f
Normal file
3
Task/Collections/Fortran/collections-1.f
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
REAL A(36) !Declares a one-dimensional array A(1), A(2), ... A(36)
|
||||
A(1) = 1 !Assigns a value to the first element.
|
||||
A(2) = 3*A(1) + 5 !The second element gets 8.
|
||||
7
Task/Collections/Fortran/collections-2.f
Normal file
7
Task/Collections/Fortran/collections-2.f
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
TYPE(MIXED) !Name the "type".
|
||||
INTEGER COUNTER !Its content is listed.
|
||||
REAL WEIGHT,DEPTH
|
||||
CHARACTER*28 MARKNAME
|
||||
COMPLEX PATH(6) !The mixed collection includes an array.
|
||||
END TYPE MIXED
|
||||
TYPE(MIXED) TEMP,A(6) !Declare some items of that type.
|
||||
Loading…
Add table
Add a link
Reference in a new issue