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 07:10:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.dfci.harvard.edu!news.harvard.edu!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: Keyword "null" Question Date: Fri, 17 Jan 2003 15:10:10 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3E281B97.76F47E30@noSpam.raytheon.com> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1042816210 31947 217.17.192.37 (17 Jan 2003 15:10:10 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Fri, 17 Jan 2003 15:10:10 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:33131 Date: 2003-01-17T15:10:10+00:00 List-Id: * 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. > Because then this would actually be doing something, > most likely a timing issue, and that's what I need to know. No. If SOME_EVENT_TOOK_PLACE is pure, the whole IF statement is a NO OP. Otherwise it's the same as declare dummy : constant Boolean := SOME_EVENT_TOOK_PLACE; begin null; end;