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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,6e3cd8a6b7c1d008,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-24 18:17:23 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sunqbc.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail From: "Jean-David Tr�panier" Newsgroups: comp.lang.ada Subject: Error with: for EntryName use at 16#address#; X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Sat, 24 Nov 2001 21:14:45 -0500 NNTP-Posting-Host: 66.130.109.158 X-Complaints-To: abuse@videotron.ca X-Trace: weber.videotron.net 1006654642 66.130.109.158 (Sat, 24 Nov 2001 21:17:22 EST) NNTP-Posting-Date: Sat, 24 Nov 2001 21:17:22 EST Xref: archiver1.google.com comp.lang.ada:16943 Date: 2001-11-24T21:14:45-05:00 List-Id: 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 end TKeyboard; task body TKeyboard is begin loop accept keyp do text_io.put_line("Keypressed (numlock)"); end keyp; end loop; end TKeyboard; ------END TASK--------- begin ... end main; Is it a good way to handle interrupt or it's preferable to use Attach_Handler(Handler, Int_ID) in the interrupt package. Thanks, Jean-David Tr�panier (JDT@hy.cgocable.ca)