comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: GENERIC SPEC TYPE ERROR
Date: Wed, 16 Nov 2005 12:23:54 +0100
Date: 2005-11-16T12:22:58+01:00	[thread overview]
Message-ID: <437b1692$0$7427$9b4e6d93@newsread4.arcor-online.net> (raw)
In-Reply-To: <1132137814.272620.71410@f14g2000cwb.googlegroups.com>

rashmi wrote:

>                 type VC_Rnge is Positive;
> 	type VC_Type is array(1..VC_Rnge) of PV_Vtyp;

in "array (1 .. 100)", two values, 1, and 100, specify
the bounds of the array. In "array (1 .. Positive)"
the identifier "Positive" does not denote a value, but a type.

If you want VC_Rnge to be a value, then declare

   VC_Rnge: Positive;



  reply	other threads:[~2005-11-16 11:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 10:43 GENERIC SPEC TYPE ERROR rashmi
2005-11-16 11:23 ` Georg Bauhaus [this message]
2005-11-16 11:33 ` Dmitry A. Kazakov
2005-11-18 11:58   ` rashmi
replies disabled

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