From: tmoran@bix.com
Subject: Re: converting lower case to upper case
Date: 1995/04/04
Date: 1995-04-04T00:00:00+00:00 [thread overview]
Message-ID: <3ls54b$hu@news1.delphi.com> (raw)
Ada 95 has a T_Upper function, but Ada 83 doesn't (though your
compiler vendor may provide one). If you need to roll your own:
function To_Upper(Item : in Character) return Character is
Raise_It:constant array('a' .. 'z') of Character
:="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
begin
if Item in Raise_It'range then return Raise_It(Item);
else return Item;
end if;
end To_Upper;
next reply other threads:[~1995-04-04 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-04 0:00 tmoran [this message]
1995-04-06 0:00 ` converting lower case to upper case Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
1995-04-01 0:00 Greg Schmitt
1995-04-02 0:00 ` Chris O'Regan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox