Closed jeanPerier closed 4 years ago
character(5) :: c = "abcde" print *, c(2:3) end
f18 -funparse:
CHARACTER(LEN=5_4) :: c = "abcde" PRINT *, c END PROGRAM
If I add PARAMETER to c, the output becomesPRINT *, "abcde" which is also wrong.
PARAMETER
c
PRINT *, "abcde"
PR #1093.
Should now be fixed; please close when convenient if so.
Thanks ! I could test that the fix solved my issue.
f18 -funparse:
If I add
PARAMETER
toc
, the output becomesPRINT *, "abcde"
which is also wrong.