comp.lang.ada
 help / color / mirror / Atom feed
From: stt@inmet
Subject: Re: case stmt check algorithm/method
Date: 24 May 89 04:22:00 GMT	[thread overview]
Message-ID: <124000046@inmet> (raw)
In-Reply-To: 89@<BRUNO


The general approach to ensuring that all values
of a range are covered exactly once involves sorting the individual
sub-ranges (using qsort or your favorite sorting method),
and then making sure that there is no overlap between
successive sub-ranges, and in the absence of "others,"
making sure that the sub-ranges "touch" with no
gaps between them.

S. Tucker Taft
Intermetrics, Inc.
Cambridge, MA  02138

       reply	other threads:[~1989-05-24  4:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <89@<BRUNO>
1989-05-24  4:22 ` stt [this message]
1989-05-22  8:31 case stmt check algorithm/method Bruno Poterie
replies disabled

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