From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5ab5184fcc6fbe6 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Generic type Date: 2000/08/11 Message-ID: <8n14a1$lim$1@nnrp1.deja.com>#1/1 X-Deja-AN: 657177845 References: <87zomkgvgg.fsf@moon.mteege.de> X-Http-Proxy: 1.0 x64.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Aug 11 14:58:13 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-08-11T00:00:00+00:00 List-Id: In article <87zomkgvgg.fsf@moon.mteege.de>, Matthias Teege wrote: > generic > > Rows : in Positive; -- Length of table > type Info (<>) is private; > > package Table is > .. (new source file) > type Argument; > package Cline is > new Table (Kapazitaet => 10, Nutz_Info => Argument); > > wont work. ;-) That's because Argument hasn't been fully defined. You'll have to move the definition of "Cline" to after the full definition of "Argument" if you want to use Argument as an actual. Well...it could *also* be because you got the names of the formals wrong in the declaration, but I'll assume that's a typo. :-) -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.