comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Is Duration not a discrete type?
Date: Sat, 12 Mar 2011 22:16:47 -0800 (PST)
Date: 2011-03-12T22:16:47-08:00	[thread overview]
Message-ID: <25878df1-a0a1-4890-af10-1c722302f469@d26g2000prn.googlegroups.com> (raw)
In-Reply-To: efe4dd82-79b9-4896-b855-6d8cccd57ca8@v11g2000prb.googlegroups.com

On Mar 12, 9:32 pm, KK6GM <mjsi...@scriptoriumdesigns.com> wrote:
> I'm trying to create a task type with a Duration discriminant and
> receive the GNAT error "discriminants must have a discrete or access
> type".  Can somebody help me to understand the problem here?

Duration is a Fixed-point type if I remember correctly.

This page, from the `83 LRM, indicates that to be the case:
http://archive.adaic.com/standards/83lrm/html/lrm-09-06.html



  reply	other threads:[~2011-03-13  6:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13  4:32 Is Duration not a discrete type? KK6GM
2011-03-13  6:16 ` Shark8 [this message]
2011-03-13 16:59   ` KK6GM
2011-03-14 10:55     ` Georg Bauhaus
replies disabled

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