comp.lang.ada
 help / color / mirror / Atom feed
From: Sven Nilsson <emwsvni@emw.ericsson.se>
Subject: Re: enumration using integers?
Date: Fri, 20 Apr 2001 16:35:03 +0200
Date: 2001-04-20T16:35:03+02:00	[thread overview]
Message-ID: <3AE04917.DF97BEA0@emw.ericsson.se> (raw)
In-Reply-To: DfXD6.4208$D4.428229@www.newsranger.com

Ted Dennison wrote:
> Hmm. I don't see anything in the above that couldn't have been done by making
> Distance a sybtype of Integer. Are you saying that you just want an integer type
> with "holes" in it, so that
> Dist := 2;
> would raise a Constraint_Error?

Yepp, that sounds about right. I've been looking for something like that
in Barnes but I couldn't find it... Any clue?

-Sven



  reply	other threads:[~2001-04-20 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-19 10:58 enumration using integers? Sven Nilsson
2001-04-19 12:42 ` Marc A. Criley
2001-04-19 13:02 ` Philip Anderson
2001-04-19 14:50 ` Ted Dennison
2001-04-20  5:22   ` Sven Nilsson
2001-04-20 13:57     ` Ted Dennison
2001-04-20 14:35       ` Sven Nilsson [this message]
2001-04-20 15:50         ` Keith Thompson
2001-04-20 18:18         ` Ted Dennison
2001-04-20 15:52     ` Samuel T. Harris
replies disabled

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