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,21f683a2c713b788 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-26 19:03:38 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!logbridge.uoregon.edu!uunet!sea.uu.net!sac.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: Boolean Operation on pointer (access) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Sun, 27 Oct 2002 02:02:39 GMT Content-Type: text/plain; charset=us-ascii References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Organization: The World Public Access UNIX, Brookline, MA Xref: archiver1.google.com comp.lang.ada:30169 Date: 2002-10-27T02:02:39+00:00 List-Id: "Dominic D'Apice" writes: > 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; You could say: if Package_Name."/="(X, null) then... but you wouldn't want to. You want to say: if X /= null then... which is equivalent to: if "/="(X, null) then ... so you need the "use type". Does that make sense? - Bob