comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Disriminant question
Date: Fri, 07 Mar 2003 08:01:26 GMT
Date: 2003-03-07T08:01:26+00:00	[thread overview]
Message-ID: <qlY9a.381382$HN5.1626412@rwcrnsc51.ops.asp.att.net> (raw)
In-Reply-To: d40d7104.0303062309.51039897@posting.google.com

> How to change discriminant value dynamically?
  Look under "Default discriminants" in your Ada text/reference.
If the type is declared with a default value for the discriminant,
and a particular object is declared with no discriminant specified,
then the object has the default value, and it can be replaced by
an aggregate assignment giving a new discriminant value and all the
fields appropriate to that value.



  reply	other threads:[~2003-03-07  8:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07  7:09 Disriminant question prashna
2003-03-07  8:01 ` tmoran [this message]
2003-03-07 11:20   ` Lutz Donnerhacke
2003-03-07 17:59     ` tmoran
2003-03-07 22:32       ` Lutz Donnerhacke
2003-03-07 11:17 ` Lutz Donnerhacke
2003-03-07 16:46   ` Matthew Heaney
2003-03-12  9:25     ` Disriminant question - Waiting desperately for solution :-( prashna
2003-03-12 16:12       ` Gautier
replies disabled

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