RosettaCodeData/Task/Loops-For/Fortran/loops-for-3.f

5 lines
72 B
Forth

integer :: i
integer, dimension(10) :: v
forall (i=1:size(v)) v(i) = i