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 X-Google-Thread: 103376,6e3cd8a6b7c1d008 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-27 06:08:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Error with: for EntryName use at 16#address#; Date: 27 Nov 2001 09:02:21 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: skates.gsfc.nasa.gov 1006869894 2157 128.183.220.71 (27 Nov 2001 14:04:54 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 27 Nov 2001 14:04:54 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:17041 Date: 2001-11-27T14:04:54+00:00 List-Id: "Jean-David Tr�panier" writes: > Hi! I have a little problem for handling an interrupt. I receive this error > at the compilation of the code below: Expression has no possible > interpretation as an expression of the expected type Address, Continuing > > > > with Text_IO; with System; > procedure main is > --------TASK----------- > task TKeyboard is > entry keyp; > for Keyp use at 16#20#; -- Error at this line This looks like a copy from an Ada 83 compiler, where the "address" for an entry was typically an interrupt number. In Ada 95, things are different. You need to read your compiler manual. -- -- Stephe