I have an argument passed to a function defined as:
character(*), optional, intent(in) :: varA
I keep getting an access violation when I don't send SOMETHING in for this argument. I cannot find any restriction on having a "character(*)" argument defined as optional. In fact, I see many examples where it IS being used as optional. Can anyone shed any light on this?
Thanks in advance!!!
character(*), optional, intent(in) :: varA
I keep getting an access violation when I don't send SOMETHING in for this argument. I cannot find any restriction on having a "character(*)" argument defined as optional. In fact, I see many examples where it IS being used as optional. Can anyone shed any light on this?
Thanks in advance!!!