From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6e99942bc28c7824 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!d26g2000prn.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Is Duration not a discrete type? Date: Sat, 12 Mar 2011 22:16:47 -0800 (PST) Organization: http://groups.google.com Message-ID: <25878df1-a0a1-4890-af10-1c722302f469@d26g2000prn.googlegroups.com> References: NNTP-Posting-Host: 174.28.172.140 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1299997007 6804 127.0.0.1 (13 Mar 2011 06:16:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 13 Mar 2011 06:16:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d26g2000prn.googlegroups.com; posting-host=174.28.172.140; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 ( .NET CLR 3.5.30729; .NET4.0E),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18119 Date: 2011-03-12T22:16:47-08:00 List-Id: On Mar 12, 9:32=A0pm, KK6GM 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". =A0Can 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