11 Jul
2001
11 Jul
'01
6:18 p.m.
On Wed, 11 Jul 2001, Adam Naumowicz wrote:
I would like to have a pointer to an array that is large enough (up to some limit) like shortarray=array[1..30000] of NameStr; but allocate only some part of it that is really required at the moment.
Use an array of pointers to NameStr. Then adding a new item is a simple inc(count); shortarray[count] := new( ... shortarray[count]^ := ... Russ