comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: Re: Case Sensitivity
Date: 2000/05/11
Date: 2000-05-11T00:00:00+00:00	[thread overview]
Message-ID: <391AD51A.E2E64E10@icn.siemens.de> (raw)
In-Reply-To: 958056490.47876@hearts.q-net.net.au



Cameron McShane wrote:
> 
>     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

Why do you think that the way a user enters input (a string ?) does
affect your internal representaion (your set type).

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

Yes, this way exists. It was mentioned in another thread a few days ago.
(Hint: conversion to upper or to lower, have a look into the manual)
 
> Any help Would be greatly appreciated.

Is this enough help ? ;-)
 
> Cheers
> Cameron

Bye.




  parent 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 Case Sensitivity Cameron McShane
2000-05-11  0:00 ` Gautier
2000-05-11  0:00 ` Alfred Hilscher [this message]
2000-05-11  0:00 ` Ted Dennison
2000-05-11  0:00 ` Florian Weimer
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