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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b00e2fb2fb2dee17,start X-Google-Attributes: gid103376,public From: randhol@pvv.org (Preben Randhol) Subject: "Dynamic" object Date: 2000/03/06 Message-ID: #1/1 X-Deja-AN: 593738954 X-Complaints-To: usenet@itea.ntnu.no X-Trace: kopp.stud.ntnu.no 952335986 28945 129.241.83.82 (6 Mar 2000 09:46:26 GMT) Organization: Norwegian university of science and technology User-Agent: slrn/0.9.6.2 (Linux) NNTP-Posting-Date: 6 Mar 2000 09:46:26 GMT Newsgroups: comp.lang.ada Date: 2000-03-06T09:46:26+00:00 List-Id: I'm wondering how to do the following in Ada 95. I want to have a small program as a frontend to a database. Thus the program needs to read the definition of the db and then generate the proper GUI for this. This I think I know how to to, but the problem is how do I define a type that contains the different fields so that I can put it in a linked list? Example: Field 1: First_Name (string of size 30) Field 2: Sirname (string of size 40) Field 3: Age (integer of size 3) ... Field n: Address (string of size 80) Any hints much appreciated. -- Preben Randhol -- [randhol@pvv.org] -- [http://www.pvv.org/~randhol/] "Det eneste trygge stedet i verden er inne i en fortelling." -- Athol Fugard