comp.lang.ada
 help / color / mirror / Atom feed
* instantiation of a procedure
@ 1997-03-06  0:00 "none"
  1997-03-07  0:00 ` john schneider
  0 siblings, 1 reply; 2+ messages in thread
From: "none" @ 1997-03-06  0:00 UTC (permalink / raw)



I'm using GNAT307  (DOS)

I'm trying to interface my client program with a package. The package's 
general structure is 


generic
 type stuff1;
 with function stuff2;
package foo1 is
.
.
  generic
    with procedure stuff3;
    procedure prog1;
    .
    .
    end prog1;
.
.
end package foo1;

I know how to instantiate the package and the generics preceding the 
package statement. But how do I instantiate the procedure stuff3 inside
the package? Note that it is a procedure with a generic within in a 
package and not a package within a package (I think I know that case).  
Also is procedure prog1 referenced any differently than if it were just 
a procedure inside the package with no generic declaration?



-- 
Brian Franklin
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!bf14
Internet: bf14@prism.gatech.edu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-07  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-06  0:00 instantiation of a procedure "none"
1997-03-07  0:00 ` john schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox