comp.lang.ada
 help / color / mirror / Atom feed
From: Vasilios Tourloupis <vasilios@insect.sd.monash.edu.au>
Subject: Conceptual Ada Problems
Date: 1996/09/29
Date: 1996-09-29T00:00:00+00:00	[thread overview]
Message-ID: <Pine.GSO.3.93.960929230049.29986A-100000@firefly.sd.monash.edu.au> (raw)


Dear Ada users,

I have a few questions regarding Ada, which hopefully someone
will be able to answer:

* Is there some way I would be able to access key fields
  of generic data types (records)?

* Is there some way of storing/retrieving records in an Ada.Direct_IO
  file using key fields of records rather than their location in the file?

* I am not quite sure how to declare functions/procedures as formal
  parameters to a function/procedure.

* Also, the Ada compiler complains about some subtype mark being
  required, in declaring an array comprising of generic linked lists.
  Any suggestions on how to overcome this are more than welcome, as
  I have been trying all day, to no avail!

Basically, what I am trying to implement is an hash table with the
ability to save and load records to and from a direct IO file,
respectively.  Any other suggestions and/or pointers are more than
welcome.

Thanx in advance,

Bill Tourloupis
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Vasilios E. Tourloupis             | vasilios@insect.sd.monash.edu.au |
| Dept. of Software Development      | vasilios@hestia.sd.monash.edu.au |
| Monash University,                 |                /\                |
| Caulfield East, Vic., 3145         |___________/\  /  \_______________|
| Australia                          |             \/                   | 
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Disclaimer: There are some that call me Bill!  But I don't know why?  |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





             reply	other threads:[~1996-09-29  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-29  0:00 Vasilios Tourloupis [this message]
1996-09-29  0:00 ` Conceptual Ada Problems Larry Kilgallen
1996-09-29  0:00   ` Robert Dewar
1996-09-29  0:00 ` Matthew Heaney
1996-10-01  0:00 ` Dale Stanbrough
replies disabled

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