comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Baulch" <matt@greenroom.com.au>
Subject: Re: Upcasting
Date: Wed, 06 Nov 2002 17:26:00 +1100
Date: 2002-11-06T06:26:16+00:00	[thread overview]
Message-ID: <pan.2002.11.06.06.26.00.708562@greenroom.com.au> (raw)
In-Reply-To: uy9879b0g.fsf@gsfc.nasa.gov

On Tue, 05 Nov 2002 12:33:51 +0000, Stephen Leake wrote:

> "Matthew Baulch" <matt@greenroom.com.au> writes:
> 
>> My question is: How would you do this 'upcasting' if varying
>> types existed? 
> 
> I don't know what you mean by "varying types". You might mean "variant
> records", but I doubt it.
> 
> Can you give an example of what you mean?

Not variant records. Varying types: eg. several vars with different types:
	Int1, Int2 : Integer;
	Flt1, Flt2 : Float;
	Str1, Str2 : String(1..10);

So, how would you use the: "x := (xxx with xxx, xxx, xxx)" statement
where multiple types are present.



  reply	other threads:[~2002-11-06  6:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05 11:43 Upcasting Matthew Baulch
2002-11-05 12:49 ` Upcasting Lutz Donnerhacke
2002-11-05 17:33 ` Upcasting Stephen Leake
2002-11-06  6:26   ` Matthew Baulch [this message]
2002-11-06 15:18 ` Upcasting Georg Bauhaus
replies disabled

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