comp.lang.ada
 help / color / mirror / Atom feed
From: perez@oldcolo.com (Carlos Perez)
Subject: Re: Dimensional Data Types
Date: 5 Dec 1994 01:39:46 GMT
Date: 1994-12-05T01:39:46+00:00	[thread overview]
Message-ID: <3btr12$a0j@news-2.csn.net> (raw)
In-Reply-To: 3briug$9ab@news-2.csn.net

Carlos Perez (perez@oldcolo.com) wrote:
: My point is that Ada won't permit a simple cast as you described, unless
: I missed something? 

Hm, I think I did miss something...  SECONDS and VOLTS are private types
derived from the same parent?  GNAT permits me to cast one private type
into another as long as they derive from the same parent.  Somehow, I thought
SECONDS was a new numeric rather than a new private.  

Anyways, I've never tried to cast private types... been out of the
Ada coding business for too long  :-(  Sorry for the wasted bandwidth.
I'll check my LRM tomorrow for the rules on type conversion and privates.

: : Do-While Jones

: When-Others Perez 

"brain raised Storage_Error" Perez



  reply	other threads:[~1994-12-05  1:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-03  0:06 Dimensional Data Types Do-While Jones
1994-12-04  5:09 ` Carlos Perez
1994-12-05  1:39   ` Carlos Perez [this message]
1994-12-05 15:00   ` Do-While Jones
replies disabled

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