comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Implementing character sets for Wide_Character
Date: Fri, 06 Mar 2015 14:48:32 -0700
Date: 2015-03-06T14:48:32-07:00	[thread overview]
Message-ID: <mdd7a4$a4p$1@dont-email.me> (raw)
In-Reply-To: <mdcq1u$4s6$1@news.albasani.net>

On 03/06/2015 11:01 AM, Martin Trenkmann wrote:
> I need to implement a containment check for Wide_Character in a wide character set. I have two approaches in mind.

3.

function Is_In_XYZ_Charset_Set (Item : Wide_Character) return Boolean is
begin -- Is_In_XYZ_Charset_Set
   return Item in Wide_Character'Val (100) .. Wide_Character'Val (900);
end Is_In_XYZ_Charset_Set;

-- 
Jeff Carter
"You empty-headed animal-food-trough wiper."
Monty Python & the Holy Grail
04

      parent reply	other threads:[~2015-03-06 21:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 18:01 Implementing character sets for Wide_Character Martin Trenkmann
2015-03-06 18:15 ` Bob Duff
2015-03-06 21:02   ` Martin Trenkmann
2015-03-06 18:18 ` G.B.
2015-03-06 21:06   ` Martin Trenkmann
2015-03-06 22:21     ` Bob Duff
2015-03-06 19:24 ` Dmitry A. Kazakov
2015-03-06 21:48 ` Jeffrey Carter [this message]
replies disabled

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