|
回帖奖励 +1
https://stackoverflow.com/questi ... as-specified-length
Fortran 2003, 12.4.1.2 Actual arguments associated with dummy data objects:
If a scalar dummy argument is of type default character, the length len of the dummy argument shall be less than or equal to the length of the actual argument. The dummy argument becomes associated with the leftmost len characters of the actual argument.
解決方法之一:
SUBROUTINE WALL( u, text, ...)
IMPLICIT NONE
CHARACTER(*), INTENT(IN) :: text |
|