comp.lang.ada
 help / color / mirror / Atom feed
From: "Phaedrus" <phaedrusalt@hotmail.com>
Subject: Re: Converting Binary to Decimal - holy war alert
Date: Wed, 28 Mar 2001 18:43:19 GMT
Date: 2001-03-28T18:43:19+00:00	[thread overview]
Message-ID: <bhqw6.5005$aP5.412427@newsread2.prod.itd.earthlink.net> (raw)
In-Reply-To: 3ac19bdf$1@pull.gecm.com

In that case, would you please deliver to me A_Billion_Dollars?  I don't care
which billion dollars you deliver.

The point I was trying to get across was that unless something is explicitly
shown as a type, it tends to look like a variable.  That's why I use the
convention
"_type" post-pended to my type definitions, and that's what I was recommending
for his use, too.  It's pretty hard to confuse "A_Dog_Type" with an actual
instance
of the type, and try to feed it or something.

So, when do you think you can deliver the money?

Phaedrus
"Martin Dowie" <martin.dowie@baesystems.com> wrote in message
news:3ac19bdf$1@pull.gecm.com...
> 'a_bin_num' doesn't imply it's a variable - 'a' is the "indefinate article"
> and
> can be used to indicate the type of something without specifying _which_
> item you are talking about e.g.
>
>   My_Kettle : A_Kettle := (Make => Kenwood, Capacity_In_Litres => 1.5, --
> etc);
>   Your_Kettle : A_Kettle := (Make => Bosch, Capacity_In_Litres => 2.0, --
> etc);
> etc.
>
>
> Phaedrus <phaedrusalt@hotmail.com> wrote in message
> news:n3Ov6.15480$ue1.1287176@newsread2.prod.itd.earthlink.net...
> > First step, get the input.  Test to make sure you're getting it correctly.
> > Use meaningful names, please!  For instance, "a_bin_num" implies
> > that it's a variable, which it isn't.  It's a type, so try calling it
> > "a_bin_num_type",
>
>
>
>





  reply	other threads:[~2001-03-28 18:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-25 21:37 Converting Binary to Decimal WM
2001-03-26  4:51 ` Wilhelm Spickermann
2001-03-26 12:36 ` Des Walker
2001-03-26 20:57 ` Phaedrus
2001-03-28  8:15   ` Converting Binary to Decimal - holy war alert Martin Dowie
2001-03-28 18:43     ` Phaedrus [this message]
2001-03-29  7:31       ` Martin Dowie
2001-03-29 22:50         ` Robert A Duff
replies disabled

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