comp.lang.ada
 help / color / mirror / Atom feed
* Re: Enumeration Constants
  2000-04-13  0:00 Enumeration Constants Karlene
@ 2000-04-13  0:00 ` Julian Day
  0 siblings, 0 replies; 2+ messages in thread
From: Julian Day @ 2000-04-13  0:00 UTC (permalink / raw)


Hi Karlene,

Have you recently covered case statements in your lectures by any chance?

Julian

Karlene wrote:

> I want to define the following constants in my program but i am not sure how
> to distiguish what the values are.  What is meant by the values is that for
> examle the small group, the values are 3, 4, 5, 6.  For the Large group it
> is 12 to whatever number.
>
> How can i show this??
>
> NAME      VALUE        DATA TYPE                        ROLE
> Single        1 - 2            Enumeration (group_type)     Distinguishes
> group size by amount of tickets purchased
> Small         3 - 6            Enumeration (group_type)     Distinguishes
> group size by amount of tickets purchased
> Medium     7 - 11          Enumeration (group_type)     Distinguishes group
> size by amount of tickets purchased
> Large        12 - more     Enumeration (group_type)     Distinguishes group
> size by amount of tickets purchased







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Enumeration Constants
@ 2000-04-13  0:00 Karlene
  2000-04-13  0:00 ` Julian Day
  0 siblings, 1 reply; 2+ messages in thread
From: Karlene @ 2000-04-13  0:00 UTC (permalink / raw)


I want to define the following constants in my program but i am not sure how
to distiguish what the values are.  What is meant by the values is that for
examle the small group, the values are 3, 4, 5, 6.  For the Large group it
is 12 to whatever number.

How can i show this??

NAME      VALUE        DATA TYPE                        ROLE
Single        1 - 2            Enumeration (group_type)     Distinguishes
group size by amount of tickets purchased
Small         3 - 6            Enumeration (group_type)     Distinguishes
group size by amount of tickets purchased
Medium     7 - 11          Enumeration (group_type)     Distinguishes group
size by amount of tickets purchased
Large        12 - more     Enumeration (group_type)     Distinguishes group
size by amount of tickets purchased








^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-13  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-13  0:00 Enumeration Constants Karlene
2000-04-13  0:00 ` Julian Day

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