comp.lang.ada
 help / color / mirror / Atom feed
From: "Beard, Frank" <beardf@spawar.navy.mil>
To: "'comp.lang.ada@ada.eu.org'" <comp.lang.ada@ada.eu.org>
Subject: RE: Ada95 calendar package question
Date: Wed, 27 Jun 2001 17:55:27 -0400
Date: 2001-06-27T17:55:27-04:00	[thread overview]
Message-ID: <mailman.993679012.23601.comp.lang.ada@ada.eu.org> (raw)



-----Original Message-----
From: Larry Hazel [mailto:lhazel@mindspring.com]

> type Months is (Ignore, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct,
Nov,
> Dec);

Yes, but then you have put a comment above it explaining what "Ignore" is
supposed
to mean.  I think a better self-documenting place holder would be:

  type Months is
(PlaceHolderSoThatValuesReturnedByAdaCalendarMonthWillLineUpWithThisType,
                  Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov,
Dec);

Frank

PS.

I case someone can't figure it out, that was really a joke.  But the more I
think about
it, it would probably be alright because no one is going to use the actual
value.  For
initialization, you would be setting the variable to 'FIRST anyway.



             reply	other threads:[~2001-06-27 21:55 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-27 21:55 Beard, Frank [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-27 20:39 Ada95 calendar package question Beard, Frank
2001-06-27 21:25 ` Larry Hazel
     [not found] <Pine.LNX.4.21.0106271731050.8027-100000@borba.ncc.up.pt>
2001-06-27 16:44 ` David C. Hoos
2001-06-28  8:29   ` Philip Anderson
2001-06-27  0:54 Vladimir Bednikov
2001-06-27  3:44 ` James Rogers
2001-06-27  8:32   ` Peter Hermann
2001-06-27 13:01     ` James Rogers
2001-06-27 14:01       ` Wes Groleau
2001-06-27 13:24     ` Marin David Condic
2001-06-27 13:59       ` Wes Groleau
2001-06-27 14:36         ` Marin David Condic
2001-06-27 15:17           ` Ted Dennison
2001-06-27 15:43           ` Frank
2001-06-27 16:07             ` Aron Felix Gurski
2001-06-27 15:59           ` Philip Anderson
2001-06-27 16:20             ` Ted Dennison
2001-06-27 17:39             ` M. A. Alves
2001-06-27 18:23             ` Wes Groleau
2001-06-27 14:38         ` Noé Lavallée
2001-06-27 14:32       ` Ian Wild
2001-06-27 22:37       ` Ehud Lamm
2001-06-28 13:17         ` Marin David Condic
2001-06-28 14:33           ` Wes Groleau
2001-06-28 20:38             ` Ehud Lamm
2001-06-28 11:27       ` Alfred Hilscher
2001-06-28 14:17         ` Ted Dennison
2001-06-28 14:49           ` Marin David Condic
2001-06-28 16:28             ` M. A. Alves
2001-06-27 14:56   ` Larry Kilgallen
2001-06-27 13:14 ` Marin David Condic
2001-06-27 14:24 ` Samuel T. Harris
2001-06-28  1:57 ` Jeffrey Carter
replies disabled

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