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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.144.41 with SMTP id sj9mr4375711pab.23.1382729656183; Fri, 25 Oct 2013 12:34:16 -0700 (PDT) X-Received: by 10.50.111.200 with SMTP id ik8mr98472igb.7.1382729655929; Fri, 25 Oct 2013 12:34:15 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!eu.feeder.erje.net!feeder.erje.net!us.feeder.erje.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!y3no81171334pbx.0!news-out.google.com!z6ni91529pbu.0!nntp.google.com!o2no26597257qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 25 Oct 2013 12:34:15 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=RxNzCgoAAACA5KmgtFQuaU-WaH7rjnAO NNTP-Posting-Host: 66.126.103.122 References: <5bae226f-91a2-4da0-a802-185a0de514f3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How to do null comparision with pointers in ADA83? From: Adam Beneschan Injection-Date: Fri, 25 Oct 2013 19:34:15 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17541 Date: 2013-10-25T12:34:15-07:00 List-Id: On Friday, October 25, 2013 12:27:26 PM UTC-7, Seshu Kumar wrote: > Here firstly i doubt simple pointer comparision to null is not working. > In different place of code i executed > > ptr is an obj of array type. > if ptr = null then I take it this is a different problem than the one we've been discussing? Once again, we need to see the code. "ptr is an obj of array type" is not a valid Ada statement, and I can't guess what Ada code you actually wrote. -- Adam