comp.lang.ada
 help / color / mirror / Atom feed
From: blakemor@software.org (Alex Blakemore)
Subject: Re: Enumeration_IO
Date: 8 May 90 16:38:11 GMT	[thread overview]
Message-ID: <1117@software.software.org> (raw)
In-Reply-To: 1846@sparko.gwu.edu

In article <1846@sparko.gwu.edu> mfeldman@seas.gwu.edu (Mike Feldman) writes:
> In preparing some programs for a book I am working on ...
> Can anyone provide some enlightenment here?

  You forgot to specify the complete name of the enumeration literal.
  They are only directly visible where the type is directly visible.

  Change
    > COLOR_IO.PUT(ITEM => C, SET => LOWER_CASE);
  to
      COLOR_IO.PUT(ITEM => C, SET => TEXT_IO.LOWER_CASE);
                                     ^^^^^^^^
P.S. You're not going to use all caps for everything in your book are you?
     Too many people think Ada requires LONG_NAMES_WITH_ALL_CAPS_FOR_EVERYTHING

-----------------------------------------------------------------------
Alex Blakemore                       Internet: blakemore@software.org
Software Productivity Consortium     UUNET:    ...!uunet!software!blakemore
2214 Rock Hill Rd, Herndon VA 22070  Bellnet:  (703) 742-7125

  reply	other threads:[~1990-05-08 16:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-05-08  0:41 Enumeration_IO Mike Feldman
1990-05-08 16:38 ` Alex Blakemore [this message]
1990-05-08 18:32   ` Enumeration_IO Mike Feldman
1990-05-09 22:36     ` Enumeration_IO M Y Ben Gershon
1990-05-10  3:01       ` Enumeration_IO Mike Feldman
1990-05-08 23:53 ` Enumeration_IO M Y Ben Gershon
  -- strict thread matches above, loose matches on Subject: below --
1990-05-08 17:54 Enumeration_IO dritz
2000-04-06  0:00 Enumeration_IO NANCY HEHIR
2000-04-07  0:00 ` Enumeration_IO Jeff Carter
2000-04-07  0:00   ` Enumeration_IO Robert Dewar
2000-04-08  0:00     ` Enumeration_IO Jeff 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