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,cafbdf9d858c8e74,start X-Google-Attributes: gid103376,public From: Vasilios Tourloupis Subject: Conceptual Ada Problems Date: 1996/09/29 Message-ID: #1/1 X-Deja-AN: 186025322 organization: Monash University x-sender: vasilios@firefly.sd.monash.edu.au content-type: TEXT/PLAIN; charset=US-ASCII mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-09-29T00:00:00+00:00 List-Id: 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? | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+