Re: "actual argument keyword name"
- From: "Craig Dedo" <cdedo@xxxxxxxxx>
- Date: Fri, 14 Dec 2007 20:02:33 -0600
"Mike" <SulfateIon@xxxxxxxxx> wrote in message news:fc60b34c-ddd4-44e3-9c7c-47b2e26b2d1d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi
I have an error message after compiled using Compaq Visual Fortran
6.6.C:
Error: This is an actual argument keyword name, and not a dummy
argument name. [SV]
call show_wbeta(sV=sV,Sg=Sg,As=As,Ext=Ext,Sc=Sc)
where sV is the derived type defined in a module, Sg, As, and Ext and
Sc are all assumed-shape dummy arrays. These dummy arguments are all
optional in subroutine show_wbeta, which is in some module, such as:
subroutine show_wbeta(sV,s,Sg_,As_,Ext_,Sc_,Sg,As,Ext,Sc)
where sV,s,Sg_,As_,Ext_,Sc_,Sg,As,Ext,Sc are all optional dummy
arguments. sV and s are derived types.
Of course I use that module containg "subroutine show_wbeta" when I
"call show_wbeta". And certainly the actual arguments all correspond
to the same type and array shape.
I don't understand what "actual argument keyword name" means.
I have intentionally modify the name of sV (the first one) into sV_ in
subroutine show_wbeta. Then error messages show the same ones except
[SV_]. So "actual argument keyword name" means the keyword name,
right? (I mean the first sV).
I have checked the keyword name can be the same as actual argument.
In fact, every arguments in the call have the same errors.
Could somebody tell me why?
Mike
Like most requests for help, you are not providing enough information. In this situation, here is some of the additional information you need to provide.
* What is the complete interface for subroutine show_wbeta? I.e., what are all of the characteristics of all of the dummy arguments in the definition of subroutine show_wbeta?
* What is the data type of each of the dummy arguments?
* What are the kind type parameters of each argument?
* What arguments are arrays?
* What arguments are optional?
* Other characteristics?
* What are the calls to subroutine show_wbeta() that are causing problems? You need to provide all of the information in each troublesome call.
* What are the definitions of all of the actual arguments in each call to show_wbeta()?
--
Craig Dedo
17130 W. Burleigh Place
P. O. Box 423
Brookfield, WI 53008-0423
Voice: (262) 783-5869
Fax: (262) 783-5928
Mobile: (414) 412-5869
E-mail: <cdedo@xxxxxxxxx> or <craig@xxxxxxxxxx>
.
- References:
- "actual argument keyword name"
- From: Mike
- "actual argument keyword name"
- Prev by Date: Re: equivalence statement
- Next by Date: an Invitation to be Involved in a Survey on Developing Scientific Computing Software
- Previous by thread: Re: "actual argument keyword name"
- Next by thread: Re: "actual argument keyword name"
- Index(es):
Relevant Pages
|