Re: Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: Tue, 2 Sep 2008 23:45:37 -0700 (PDT)
On 2 sep, 16:27, Steve Lionel <Steve.Lio...@xxxxxxxxxxxxx> wrote:
On Tue, 2 Sep 2008 04:53:56 -0700 (PDT), Arjen Markus
<arjen.mar...@xxxxxxxxxx> wrote:
real function integrate_abc( f, n, pg, reltol )
... appropriate declarations
... preparation
call integabc( flocal, ... )
... completion
return
!
! Here it comes
!
entry flocal( pg )
flocal = f(pg)
end function
This is illegal - when entered through flocal, dummy argument f is not allowed
to be referenced since it is not in the dummy argument list of flocal.
--
Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH
For email address, replace "invalid" with "com"
User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://support.intel.com/support/performancetools/fortran
My Fortran blog
http://www.intel.com/software/drfortran- Tekst uit oorspronkelijk bericht niet weergeven -
- Tekst uit oorspronkelijk bericht weergeven -
Ah, I had hoped it would sort-of-magically be available.
I have seen ENTRY used in one or two programs, I may have
used in one of my own programs a long time ago.
So I completely misjudged it ;).
Regards,
Arjen
.
- References:
- Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- From: Will W.
- Re: Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- From: Arjen Markus
- Re: Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- From: Steve Lionel
- Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- Prev by Date: Re: Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- Next by Date: Re: C++ wrapper for fortran functions
- Previous by thread: Re: Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- Next by thread: Re: Any suggested workarounds for writing wrappers for functions that are to be passed as arguments?
- Index(es):
Relevant Pages
|