Re: overloaded cant be distinguished by return values?
- From: Richard Edgar <rge21@xxxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 10:17:23 -0400
Michael Metcalf wrote:
"Berthold "Höllmann"" <berthold@xxxxxxxxxxxxx> wrote in message
news:seodk2la4b.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am trying to distinguisch overloaded functions by their result value
but get an error message from ifort 9.1:
The message is correct. Overloaded procedures are disambiguated according to
their arguments ("Fortran 95/2003 Explained", Section 5.18).
Regards,
Being more general (please correct me if I'm wrong...), this is an
example of the rule in Fortran that the RHS of any expression is
evaluated before the LHS is considered. This is why
REAL :: a
a = 1/2
results in a being set equal to zero.
Richard
.
- Follow-Ups:
- Re: overloaded cant be distinguished by return values?
- From: Reinhold Bader
- Re: overloaded cant be distinguished by return values?
- From: gary . l . scott
- Re: overloaded cant be distinguished by return values?
- References:
- overloaded cant be distinguished by return values?
- From: Berthold Höllmann
- Re: overloaded cant be distinguished by return values?
- From: Michael Metcalf
- overloaded cant be distinguished by return values?
- Prev by Date: Re: F77 & WIN XP
- Next by Date: Re: strange arguments passing problem (from vba to fortran dll)
- Previous by thread: Re: overloaded cant be distinguished by return values?
- Next by thread: Re: overloaded cant be distinguished by return values?
- Index(es):
Relevant Pages
|