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,83b83c553c3b79cf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-14 09:29:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Problem with Enumaration and visibility Date: Wed, 14 Nov 2001 17:25:54 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3BF29CBA.46D5F9B2@boeing.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1005758754 24852 129.241.83.82 (14 Nov 2001 17:25:54 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 14 Nov 2001 17:25:54 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16523 Date: 2001-11-14T17:25:54+00:00 List-Id: On Wed, 14 Nov 2001 16:32:58 GMT, Jeffrey Carter wrote: > In the fragment of Setup shown, you declare a type, 2 enumeration > literals (which are actually functions), a function (I presume, though > you call it a procedure). The type declaration implicitly declares a cut'n'paste error it is a function :-) > You have a number of choices: [..] > 2. Add "use Setup;". This eliminates the need to prefix anything. Don't like this for my packages. > > 3. Add "use type Setup.Method_Enum_Type;". This eliminates the need to > prefix "=", but you will still need to prefix Spell. Yes this is nice. Preben