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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a074a0043177938 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-11 14:13:01 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed.stueberl.de!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: Re: Type declared in record? Date: Tue, 11 Nov 2003 22:08:56 +0000 Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1068588560 76914 80.67.180.195 (11 Nov 2003 22:09:20 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Tue, 11 Nov 2003 22:09:20 +0000 (UTC) Cc: comp.lang.ada@ada-france.org To: Freejack Return-Path: In-Reply-To: X-Mailer: Ximian Evolution 1.4.5 X-OriginalArrivalTime: 11 Nov 2003 22:08:36.0253 (UTC) FILETIME=[5A77A4D0:01C3A8A0] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2378 Date: 2003-11-11T22:08:56+00:00 On Tue, 2003-11-11 at 20:19, Freejack wrote: > When using Ada records, is there a way to do something like this... > > type Foo is record > type Bar is array(1..Blah) of Positive; > Foo1 : Natural; > Foo2 : Natural; > > end record; This is not representative of any problem I can think of. Maybe you want an array component, maybe a generic type, maybe something else. Please rethink your problem and restate it.