Re: association with zero-length array? ... Requirements for pointer and target association ... POINTER attribute, TARGET attribute, pointer association ... If PTR has the POINTER attribute and TGT has the TARGET or ... and TGT considered to be pointer associated, i.e., under which of the ... (comp.lang.fortran)
Re: TARGET and INTENT(IN) ... you can use a pointer to point at something and then modify it through the pointer. ... A pointer is very much like a dummy argument. ... With this meaning of "TARGET" for INTENTdummys I don't see the point - the compiler still doesn't do anything different than for INTENTdummys without TARGET. ... I've been known to have wrapper routines that try to make life simpler for both the routines that calls them and the lower-level routines that they call. ... (comp.lang.fortran)
Re: Rules for valid pointer deallocation ... forrtl: severe: A pointer passed to DEALLOCATE points to an array... the allocated array is 10 and the extent of the target...dummy array is also 10, because n is 10 in this ... (comp.lang.fortran)
Recursive Algorithm again ... the target is to traverse a field of 3 x 3 where it is started at ... There is indicated the pointer 3. ...RECURSIVE SUBROUTINE next_node ...ENDDO... (comp.lang.fortran)
Re: Copy-in/Copy-out ... subscript, the dummy argument is scalar or assumed-shape, and both ... have the target attribute. ... I think this means that if I allocate memory to a pointer... the array can never be ... (comp.lang.fortran)