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-Thread: 103376,1778172b15c38ba8 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: select semantic Date: Wed, 27 Apr 2005 18:34:50 +0200 Organization: Adalog Message-ID: <9veo4d.eli.ln@hunter.axlog.fr> References: NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1114620520 7738 195.25.228.57 (27 Apr 2005 16:48:40 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 27 Apr 2005 16:48:40 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:10756 Date: 2005-04-27T18:34:50+02:00 List-Id: Marcin B. a �crit : > Hello, > > I would like to ask about semantic of "select" instruction. > In a few "when" branches I use EntryName'COUNT. > Are conditions in "when" branches being recalculated, when > EntryName'COUNT changes?? > No. Guards (the official name of the condition that follows "when") are calculated only once, when you enter the select statement. OTOH, it is quite unlikely that you *really* need to depend on a guard that includes a 'Count attribute. Could you post what you are trying to do? There might be a better solution. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr