comp.lang.ada
 help / color / mirror / Atom feed
* "Dynamic" object
@ 2000-03-06  0:00 Preben Randhol
  2000-03-06  0:00 ` Gisle S�lensminde
  0 siblings, 1 reply; 7+ messages in thread
From: Preben Randhol @ 2000-03-06  0:00 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-03-08  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-06  0:00 "Dynamic" object Preben Randhol
2000-03-06  0:00 ` Gisle S�lensminde
2000-03-06  0:00   ` Preben Randhol
2000-03-07  0:00     ` Simon Wright
2000-03-08  0:00       ` Preben Randhol
2000-03-08  0:00     ` Gisle S�lensminde
2000-03-08  0:00       ` Preben Randhol

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