DEBSOURCES
Skip Quicknav
sources / lfortran / 0.45.0-1 / tests / array14.f90
123456789101112
program array14 implicit none real :: x(5) real :: z(3) x = [5, -1, 3, 4, 2] print *, x z = x(1:3) print *, z end program