comp.lang.ada
 help / color / mirror / Atom feed
From: cp98ak@cosc.brocku.ca (Chris)
Subject: dynamic arrays in a record ?
Date: 19 Feb 2003 20:57:27 -0800
Date: 2003-02-20T04:57:28+00:00	[thread overview]
Message-ID: <a5589416.0302192057.45e8c413@posting.google.com> (raw)

Is there any easy way to put a dynamic array in a record?

I plan to create the array elsewhere based on user input, but I would
like a "placeholder" in the record for it...

...or is this craziness altogether?



SNIP------------------------------------

type board_array is array (positive range <>, positive range <>) of
integer range -1..1;

	type board is record
		aboard: board_array; -- this is junk!
		userscore : integer;
		compscore : integer;
     end record;

----------------------------------------



             reply	other threads:[~2003-02-20  4:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20  4:57 Chris [this message]
2003-02-20  6:28 ` dynamic arrays in a record ? tmoran
2003-02-20 16:44   ` Chris
  -- strict thread matches above, loose matches on Subject: below --
2003-02-20  6:20 Grein, Christoph
replies disabled

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