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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,21f683a2c713b788 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-26 18:26:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "Dominic D'Apice" Newsgroups: comp.lang.ada Subject: RE: Boolean Operation on pointer (access) Date: Sat, 26 Oct 2002 21:26:05 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1035681962 29127 137.194.161.2 (27 Oct 2002 01:26:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 27 Oct 2002 01:26:02 +0000 (UTC) Return-Path: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:30168 Date: 2002-10-26T21:26:05-04:00 Ok then, i use the clause use in my .ada for my package ads, it's working, but i don't understand why i need to put a use clause for only this king of operator ? For the rest of my .ada program i only precede each thing by the .ads package name Ex : package.var := xxx; Thanks Dominic -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org] On Behalf Of Robert A Duff Sent: 26 octobre, 2002 21:08 To: comp.lang.ada@ada.eu.org Subject: Re: Boolean Operation on pointer (access) "Dominic D'Apice" writes: > if (x /= null) then --the line where the compiler stop ... > I got this error : > > gerer_location.ada: Error: line 136 col 23 LRM:8.4(1), > Binary operator "/=" not directly visible, use clause or conversion > might be needed > > The operation "/=" should be permit on pointer, then why i got this > error ? You want a "use type" clause on the pointer type. Yes, "/=" is allowed on pointers, but this operator is implicitly declared at a certain place in the program, and you need to make it directly visible in order to call it. - Bob _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada.eu.org http://ada.eu.org/mailman/listinfo/comp.lang.ada