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,bd40601768eaf8fd X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Array of Variant Records Question... Date: 1999/09/10 Message-ID: <7r9r4u$fsc$1@nnrp1.deja.com>#1/1 X-Deja-AN: 523189965 References: <7r5vh3$imu1@svlss.lmms.lmco.com> <37d6a45c@news1.prserv.net> <37d6ccb6@news1.prserv.net> <7r77i8$i08$1@nnrp1.deja.com> <37d7c116@news1.prserv.net> <7r8t21$ov5$1@nnrp1.deja.com> <37d822a1@news1.prserv.net> X-Http-Proxy: 1.0 x33.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Fri Sep 10 02:41:35 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-09-10T00:00:00+00:00 List-Id: In article <37d822a1@news1.prserv.net>, "Matthew Heaney" wrote: > To be able to modify an in-mode subprogram parameter. > Essentially, what ACT did to implement the function Random > in GNAT. That seems just *too* kludgy to me, and very implemention dependent, wouldn't it be better to just introduce in out and out parameters for functions (but we know that one won't fly ...) > > >> 6) the ability to invoke a constructor/initializer for limited types in the > >> declarative region > > > > sorry, I do not know what you mean here, and I certainly > > do not know what a constructor is, example would be useful. > > In Ada, constructor = function. (That is why there's a problem.) > > Example: > > type LT is limited private; > > function Init () return LT; > > ... > declare > O : LT := Init (...); > begin > OK, I see, yes, something like that would be useful indeed ... Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.