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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d0452dbe16ac0df4 X-Google-Attributes: gid103376,public From: Jeff Carter Subject: Re: ObjectAda vs Gnat -- bugs Date: 1997/05/20 Message-ID: <3381A6BA.4D4A@spam.innocon.com>#1/1 X-Deja-AN: 242588318 References: <5loibn$qek@lotho.delphi.com> Organization: Wouldn't You Like to Know, Inc. Reply-To: carter@spam.innocon.com Newsgroups: comp.lang.ada Date: 1997-05-20T00:00:00+00:00 List-Id: Jon S Anthony wrote: > > In article <5loibn$qek@lotho.delphi.com> tmoran@bix.com writes: > > > So if I wanted to make some reusable object with the characteristics: > > constant once created > > creation requires info not conveniently done with discriminants > > limited > > one approach would be to make the type T limited and tell users to declare > > X : T renames Create(...); > > Right? > > Works for me... > > /Jon > -- > Jon Anthony > Organon Motives, Inc. > Belmont, MA 02178 > 617.484.3383 > jsa@organon.com I'd want to put "constant" in there, just to remind me: X : constant T renames Create (...); -- Jeff Carter PGP:1024/440FBE21 Auntie-spam reply-to; try ( carter @ innocon . com ) "Now go away, or I shall taunt you a second time." Monty Python & the Holy Grail