comp.lang.ada
 help / color / mirror / Atom feed
From: bf14@prism.gatech.edu ("none")
Subject: instantiation of a procedure
Date: 1997/03/06
Date: 1997-03-06T00:00:00+00:00	[thread overview]
Message-ID: <5fnavj$ocs@acmez.gatech.edu> (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




             reply	other threads:[~1997-03-06  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-06  0:00 "none" [this message]
1997-03-07  0:00 ` instantiation of a procedure john schneider
replies disabled

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