comp.lang.ada
 help / color / mirror / Atom feed
From: "Cameron McShane" <cazza@aceonline.com.au>
Subject: Case Sensitivity
Date: 2000/05/11
Date: 2000-05-11T14:48:14+00:00	[thread overview]
Message-ID: <958056490.47876@hearts.q-net.net.au> (raw)

Hey

I am doing a project for Uni, and am a bit stuck.

We need a menu that needs to be case-'in'sensitive. I am using an enumerated
data type for the 3 menu options ie:

    type Menu_Options is (buy, read, done)

If the user is to be allowed to enter Buy or BUY or bUy - etc, do I need to
make the data type

    type Menu_Options is (buy, Buy, bUY, etc

or is there a way of converting user input to all lower case?

Any help Would be greatly appreciated.

Cheers

Cameron






             reply	other threads:[~2000-05-11  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-11  0:00 Cameron McShane [this message]
2000-05-11  0:00 ` Case Sensitivity Florian Weimer
2000-05-11  0:00 ` Alfred Hilscher
2000-05-11  0:00 ` Ted Dennison
2000-05-11  0:00 ` Gautier
2000-05-12  0:00 ` John English
2000-05-12  0:00   ` David C. Hoos, Sr.
2000-05-15  0:00     ` John English
  -- strict thread matches above, loose matches on Subject: below --
1993-07-04  9:12 case sensitivity Erik Magnuson
1993-07-02 15:53 Robert I. Eachus
1993-07-01 23:03 cis.ohio-state.edu!pacific.mps.ohio-state.edu!math.ohio-state.edu!darwin.
1989-02-20 19:45 pse_papay
1989-02-21  8:18 ` Bruce Anderson
1989-02-22 22:28 ` Steven D. Litvintchouk
1989-02-27 14:45 ` Dennis M. O'Connor
replies disabled

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