[comp.lang.ada] List of lists using Ada

tfrancis@wpi.wpi.edu (Krishan M Nainani) (08/07/89)

Hi Netters,

	I have just recently started learning Ada and am faced with this
problem. I would welcome any help.

	I need to construct a list of lists. So, each node in list A 
would point to separate lists. For example, node 1 in list A would point 
to a structure of type B and node 2 in list A would point to a structure 
of type C. But all of this should be dynamic. So, there might be an 
arbitrary number of types. For example, the types B and C would be 
described in another file BUT the number of these types is unknown at 
compile time and the description of these types is also UNKNOWN at compile 
time. Please note that I cannot use a variant record.

	Due to these unknowns, I cannot use a generic package so does 
ANYONE have ANY suggestions ?

Thanx in advance.

Krishan Nainani.	reply-to (tfrancis@wpi.wpi.edu)