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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5ab5184fcc6fbe6,start X-Google-Attributes: gid103376,public From: Matthias Teege Subject: Generic type Date: 2000/08/11 Message-ID: <87zomkgvgg.fsf@moon.mteege.de>#1/1 X-Deja-AN: 657061226 Sender: matthias@moon.mteege.de Organization: DVZ Datenverarbeitungszentrum Mecklenburg-Vorpommern GmbH Content-Type: text/plain; charset=iso-8859-1 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-11T00:00:00+00:00 List-Id: Moin, I've wrote an generic packages to store things in an table. The generic looks like this: generic Rows : in Positive; -- Length of table type Info (<>) is private; package Table is type Tabelle is limited private; subtype Id is Positive range 1 .. Rows; .. I made a new instance with this statement: package Cline is new Table (Kapazitaet => 10, Nutz_Info => String); wich works great. But how can I use my own types? type Argument; package Cline is new Table (Kapazitaet => 10, Nutz_Info => Argument); wont work. ;-) Many thanks Matthias -- Matthias Teege -- matthias@mteege.de -- http://emugs.de make world not war PGP-Key auf Anfrage