- #1
- 17
- 0
Delete..
Delete..
Delete..
Last edited:
REAL,DIMENSION(2,3) :: array
DO,i=1,2
WRITE(6,*) array(i,:)
END DO
I don't think you want that first comma after the DO.They're not crazy, if I want to print all row entries in a column, then:
Code:REAL,DIMENSION(2,3) :: array DO,i=1,2 WRITE(6,*) array(i,:) END DO
This character - : - is a colon. This one - ; - is a semicolon.You can use the semi-colon as an implicit "all" when operating on arrays.
BC2210,Delete..