From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Newbee question
Date: Sat, 14 Dec 2002 20:10:16 GMT
Date: 2002-12-14T20:10:16+00:00 [thread overview]
Message-ID: <3DFB9067.2040600@acm.org> (raw)
In-Reply-To: j4IK9.30539$xH3.313167@weber.videotron.net
Eric Robert wrote:
>
> I'm new to Ada (2nd day almost) and I'm trying to save an array of record in
> a file. So far so goood. I save an integer first to know how many items they
> are in the array. But how can I possibly read it back? I don't know the size
> of the array yet. It seems to me that I need to use unconstrained arrays. If
> so, I can't get the syntax right or a proper example explaining how to
> enlarge the array...
So, is this a homework problem?
You might want to look at block statements. You can declare an array
variable in a block statement using values determined at run time.
--
Jeff Carter
"Why don't you bore a hole in yourself and let the sap run out?"
Horse Feathers
next prev parent reply other threads:[~2002-12-14 20:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-14 15:16 Newbee question Eric Robert
2002-12-14 20:10 ` Jeffrey Carter [this message]
2002-12-15 1:49 ` Eric Robert
2002-12-15 4:04 ` James S. Rogers
2002-12-16 10:32 ` John McCabe
2002-12-16 13:28 ` Marin David Condic
2002-12-17 0:31 ` Randy Brukardt
2002-12-17 15:24 ` Marin David Condic
2002-12-19 10:32 ` Ole-Hjalmar Kristensen
2002-12-15 7:57 ` Pascal Obry
2002-12-15 10:06 ` Jerry van Dijk
2002-12-15 19:04 ` Michal Nowak
2002-12-16 10:33 ` John McCabe
2002-12-16 0:47 ` Eric Robert
2002-12-17 3:23 ` Bill Findlay
2002-12-16 10:28 ` John McCabe
2002-12-17 2:36 ` Eric Robert
2002-12-17 3:24 ` Bill Findlay
2002-12-18 9:37 ` John McCabe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox