comp.lang.ada
 help / color / mirror / Atom feed
From: "Riyaz Mansoor" <s800032@student.uq.edu.au>
Subject: parameter passing
Date: 2000/02/17
Date: 2000-02-17T12:44:53+00:00	[thread overview]
Message-ID: <88gqg5$4a8$1@bunyip.cc.uq.edu.au> (raw)



i want to pass a generic package as a parameter to another genric package.

eg:

with gen1_pack;
with gen2_pack;

procedure main is
    package gen1 is new gen1_pack;
    --how do i declare the gen2_pack with gen1 as a parameter?
begin
end;

also how would the code look like in gen2_pack which actually accepts the
gen1 package as a generic "paramter" ?

thanks


----------------------------------------------------







             reply	other threads:[~2000-02-17  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-17  0:00 Riyaz Mansoor [this message]
2000-02-18  0:00 ` parameter passing Richard D Riehle
2000-02-19  0:00 ` Ehud Lamm
  -- strict thread matches above, loose matches on Subject: below --
1990-06-29 15:32 David Guaspari
     [not found] <1569@oravax.UUCP>
1990-06-27 15:32 ` stt
1990-06-27 17:15 ` Michael Feldman
1989-06-21 13:16 Parameter Passing Jon Humphreys
1989-06-21 17:23 ` William Thomas Wolfe,2847,
1986-10-08 18:56 parameter passing Eric Marshall
1986-10-10 16:46 ` Geoff Mendal
1986-10-30 23:08   ` Mats_Ohlin_FOA2
replies disabled

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