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.9 required=5.0 tests=BAYES_00 autolearn=ham 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-09 11:11:26 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!demon!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: "martin.m.dowie" Newsgroups: comp.lang.ada References: <9nabri$3i4$1@snipp.uninett.no> <4W3m7.7888$4z.32986@www.newsranger.com> Subject: Re: RE: Simplest way to protect a variable ? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Sun, 9 Sep 2001 19:03:09 +0100 NNTP-Posting-Host: 62.252.152.211 X-Complaints-To: abuse@ntlworld.com X-Trace: news2-win.server.ntlworld.com 1000058765 62.252.152.211 (Sun, 09 Sep 2001 19:06:05 BST) NNTP-Posting-Date: Sun, 09 Sep 2001 19:06:05 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:12952 Date: 2001-09-09T19:03:09+01:00 List-Id: > >> A : constant array ( ... ) of ... := file_reading_function (...); > > > Try declaring the type first. I don't think you can actually use an anynomous > array type in a constant declaration like this. can't be annonymous as what type of object would the function return?