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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e91f674b5db5e2b2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-17 07:04:57 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <09Oo7.12082$mj6.1852826@news6-win.server.ntlworld.com> Subject: Re: Assigning the value of a deferred constant? Message-ID: <%pnp7.2820$p77.4870@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Mon, 17 Sep 2001 10:04:43 EDT Organization: http://www.newsranger.com Date: Mon, 17 Sep 2001 14:04:43 GMT Xref: archiver1.google.com comp.lang.ada:13121 Date: 2001-09-17T14:04:43+00:00 List-Id: In article , Juanma Barranquero says... > >On Mon, 17 Sep 2001 09:37:43 +0200, Juanma Barranquero > wrote: > >>More or less. I've been doing: >> >> type Byte_Order is (Little_Endian, Big_Endian); >> >> Default_Byte_Order : Byte_Order; > >And vaguely related: Is there any way to declare a deferred constant >and assign its value in the body of the declaring package, during >elaboration? Something like: Sure. Declare it as a function instead of a constant. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com