(j3.2006) a question on allowing internal procedures as procedure targets

Michael Ingrassia michaeli
Mon Nov 3 19:18:23 EST 2008


Oops, did I say 12.5.2.3?  I meant 12.6.2.4.

Actually, 12.6.2.4 may not be saying quite what it ought (or I'm just not
reading it correctly).  The last sentence of p4 says

>If an internal procedure is invoked via a ... procedure pointer

which seems to be true of Jim's "print *, func()" ; internal procedure f
is invoked via procedure pointer func

then
>the internal procedure has access to the entities of the host instance of
that ... procedure pointer

which seems to say that f gets access to the entities to the host instance
of func !!!  Cool!  f is not limited to accessing entities from its host,
but can access entities from ANY scoping unit which can declare a 
procedure pointer and call externFn !

That's gotta be wrong I think.


	--Michael I.



More information about the J3 mailing list