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,3b98a26890a2d400 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-17 15:18:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3E288F2C.5040303@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Keyword "null" Question References: <3E281B97.76F47E30@noSpam.raytheon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Jan 2003 23:16:56 GMT NNTP-Posting-Host: 63.184.104.152 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1042845416 63.184.104.152 (Fri, 17 Jan 2003 15:16:56 PST) NNTP-Posting-Date: Fri, 17 Jan 2003 15:16:56 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:33163 Date: 2003-01-17T23:16:56+00:00 List-Id: Lutz Donnerhacke wrote: > * Michael Bustillo wrote: > >> if SOME_EVENT_TOOK_PLACE then >> null; >> end if; >> >>This statement is simply standing alone by itself, not part of any >>"case-like" structure or anything sneaky. I guess my question is when >>it says "...it does nothing..." does it actually mean that it is putting >>a NO OP there? > > > For the null statement: Yep. This is incorrect. A null statement does not require generating any object code. No decent Ada compiler outputs a NO OP code for null statements. Without knowing what SOME_EVENT_TOOK_PLACE is it's impossible to conjecture on why this is there. -- Jeff Carter "Sheriff murdered, crops burned, stores looted, people stampeded, and cattle raped." Blazing Saddles