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,73f097f1e2686cf5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-07 06:26:35 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!news-in!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9nabri$3i4$1@snipp.uninett.no> Subject: Re: RE: Simplest way to protect a variable ? Message-ID: <4W3m7.7888$4z.32986@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: Fri, 07 Sep 2001 09:26:24 EDT Organization: http://www.newsranger.com Date: Fri, 07 Sep 2001 13:26:24 GMT Xref: archiver1.google.com comp.lang.ada:12891 Date: 2001-09-07T13:26:24+00:00 List-Id: In article <9nabri$3i4$1@snipp.uninett.no>, Reinert Korsnes says... > >> A : constant array ( ... ) of ... := file_reading_function (...); > > >Obs, in this case I get compilation error message: > >"left hand side of assignment must be a variable" Try declaring the type first. I don't think you can actually use an anynomous array type in a constant declaration like this. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com