comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <jrcarter@acm.org>
Subject: Re: Design help
Date: Sat, 10 Mar 2007 01:00:25 GMT
Date: 2007-03-10T01:00:25+00:00	[thread overview]
Message-ID: <JqnIh.7182$PF.1854@attbi_s21> (raw)
In-Reply-To: <mailman.116.1173480208.18371.comp.lang.ada@ada-france.org>

Carroll, Andrew wrote:
> 
>    myrec: dbrecord;
>    ...
>    type dbrecord is range 0..sum_of_sizes_of_attributes;

>    X := dbrecord(33..70);  --what type is x here?

Dbrecord is a type, not an object, so I presume you meant Myrec here. 
But Dbrecord is an integer type, so Myrec (33 .. 70) is meaningless. It 
will be hard for you to get a meaningful answer until we can understand 
what you're asking.

-- 
Jeff Carter
"English bed-wetting types."
Monty Python & the Holy Grail
15



  parent reply	other threads:[~2007-03-10  1:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-09 22:43 Design help Carroll, Andrew
2007-03-09 23:07 ` Simon Wright
2007-03-10  1:00 ` Jeffrey R. Carter [this message]
2007-03-10  4:40 ` Steve
2007-03-10 13:38 ` Ludovic Brenta
2007-03-17 20:34 ` Michael Erdmann
  -- strict thread matches above, loose matches on Subject: below --
2007-03-13  0:50 Carroll, Andrew
2007-03-13  2:48 ` Randy Brukardt
2007-03-13  8:52 ` Stuart
2007-03-13  9:40 ` Dmitry A. Kazakov
2007-03-13 20:18   ` Simon Wright
2007-03-13 22:22   ` Randy Brukardt
2007-03-26 14:56 Carroll, Andrew
replies disabled

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