I cannot understand how these two functions produce ambiguation. If the types are changed to integer or real, the compiler does not flag any ambiguation.
Function split_to_str_unidim &
( &
a, delim, mold, &
pos &
) &
Result (bn)
Character (len=*), Intent (in) :: a, delim, mold
Character (len=*), Intent (in), Optional :: pos
Character (len=65), Allocatable :: bn(:)
End Function
Function split_to_str &
( &
a, delim, b1, b2, &
b3, b4, b5, b6, b7, b8, &
pos &
) &
Result (b)
Character (len=*), Intent (in) :: a, delim
Character (len=*), Intent (in), Optional :: pos
Character (len=*), Intent (out) :: b1, b2
Character (len=*), Intent (out), Optional :: b3, b4, b5, b6, b7, b8
Logical :: b
End Function