Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fortran 90 OPTIONAL argument

Status
Not open for further replies.

CJason

Programmer
Oct 13, 2004
223
US
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!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top