From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxr!ulysses!ucbvax!info-ada From: EBERARD@USC-ECLB.ARPA (Edward V. Berard) Newsgroups: net.lang.ada Subject: Generic Table Package Message-ID: <12158921748.36.EBERARD@USC-ECLB.ARPA> Date: Wed, 13-Nov-85 09:31:59 EST Article-I.D.: USC-ECLB.12158921748.36.EBERARD Posted: Wed Nov 13 09:31:59 1985 Date-Received: Fri, 15-Nov-85 04:40:59 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet List-Id: A simple "table" can be thought of as a two-dimensional "array" in which each of the columns contains objects objects which are all of the same type, yet the type of the objects in one column may differ from the type of the objects contained in another column in the same table. One simple way to implement a table might be to have a list of records, where the fields in the records corresponded to the columns of the table. I want to create a generic table package. Users of this generic will be able to create two-dimensional tables, and to manipulate items in the tables they create. I envision that the users of the table will be able to supply two discrete scalar types which will represent the indicies of the table. Further, the users will be able to create (instantiate?) any number of columns they wish for the table by supplying a type for the objects to be contained in a given column. We currently have two or three unsatisfactory solutions to the above problem, but we wonder if there is a simple and straightforward solution to the problem of implementing this in Ada. You can send suggestions to me or post them on the mailing list. I will post any working solutions which are sent to me. Thank you. -- Ed Berard (301) 251 - 1626 -------