comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: select semantic
Date: Wed, 27 Apr 2005 18:34:50 +0200
Date: 2005-04-27T18:34:50+02:00	[thread overview]
Message-ID: <9veo4d.eli.ln@hunter.axlog.fr> (raw)
In-Reply-To: <d4nqrq$qjc$1@nemesis.news.tpi.pl>

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



      reply	other threads:[~2005-04-27 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 10:46 select semantic Marcin B.
2005-04-27 16:34 ` Jean-Pierre Rosen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox