comp.lang.ada
 help / color / mirror / Atom feed
From: "Davide" <ppp@ppp.it>
Subject: Re: Newbie Question: Casting Issue
Date: Fri, 7 May 2004 09:10:33 +0200
Date: 2004-05-07T09:10:33+02:00	[thread overview]
Message-ID: <c7fcpa$37p$1@e3k.asi.ansaldo.it> (raw)
In-Reply-To: vfWdnY3Qq_ib5QTdRVn-sA@comcast.com

Thank you.
Precious, exhaustive response.

"Robert I. Eachus" <rieachus@comcast.net> ha scritto nel messaggio
news:vfWdnY3Qq_ib5QTdRVn-sA@comcast.com...
> Robert I. Eachus wrote:
>
> Ooops!
> > if FLOAT_VAR > FLOAT_POINT_TYPE(FIX_POINT_TYPE'FIRST)
> >  and FLOAT_VAR < FLOAT_POINT_TYPE(FIX_POINT_TYPE'LAST)
> > then
> >   FIX_VAR := FLOAT_VAR.
> > else
> >   ...
>
>   if FLOAT_VAR > FLOAT_POINT_TYPE(FIX_POINT_TYPE'FIRST)
>     and FLOAT_VAR < FLOAT_POINT_TYPE(FIX_POINT_TYPE'LAST)
>   then
>     FIX_VAR := FIX_POINT_TYPE(FLOAT_VAR);
>   else
>     ...
>
> The problems of creating code using cut and paste...
>
> --
>
>                                            Robert I. Eachus
>
> "The terrorist enemy holds no territory, defends no population, is
> unconstrained by rules of warfare, and respects no law of morality. Such
> an enemy cannot be deterred, contained, appeased or negotiated with. It
> can only be destroyed--and that, ladies and gentlemen, is the business
> at hand."  -- Dick Cheney
>





      reply	other threads:[~2004-05-07  7:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-04  9:22 Newbie Question: Casting Issue Davide
2004-05-04 17:40 ` Jeffrey Carter
2004-05-05 23:07 ` Robert I. Eachus
2004-05-05 23:25   ` Robert I. Eachus
2004-05-07  7:10     ` Davide [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