Re: Allocating arrays inside a subroutine.
- From: nospam@xxxxxxxxxxxxx (Richard E Maine)
- Date: Wed, 30 Aug 2006 09:50:36 -0700
Rich Townsend <rhdt@xxxxxxxxxxxxxxxxxxx> wrote:
Richard E Maine wrote:
note that you *CAN* initialize
a pointer to null() in f90. The statement
integer, pointer :: p => null()
is perfectly fine f90.
Are you sure about this? Reading M&R (sec. 11.2.8), they say that NULL is
a new intrinsic, introduced in F95.
Um.... Oops. You know, I even grabbed a copy of the standard to check
before posting. The real, official poorly bound paper standard from ISO
that would have cost me about $200 to buy, but I got as a feebee for
being editor (Woo!).
But, of course, that was f95. :-( I did have a cup of coffee this
morning, but I guess I need a second one. Better that than going back to
the "rest home". You are correct, as was Jan on this one.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.
- References:
- Allocating arrays inside a subroutine.
- From: Timothy Hume
- Re: Allocating arrays inside a subroutine.
- From: deltaquattro
- Re: Allocating arrays inside a subroutine.
- From: Ron Shepard
- Re: Allocating arrays inside a subroutine.
- From: Jan Vorbrüggen
- Re: Allocating arrays inside a subroutine.
- From: Richard E Maine
- Re: Allocating arrays inside a subroutine.
- From: Rich Townsend
- Allocating arrays inside a subroutine.
- Prev by Date: Re: Overload problem
- Next by Date: problematic array assignment in double precision (ifort, windows)
- Previous by thread: Re: Allocating arrays inside a subroutine.
- Next by thread: Re: Allocating arrays inside a subroutine.
- Index(es):
Relevant Pages
|