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.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7ecb950fc3673a68 X-Google-Attributes: gid103376,public From: "Pascal Obry" Subject: Re: Ada Query... Date: 2000/03/26 Message-ID: <8bl7ek$2in$1@wanadoo.fr>#1/1 X-Deja-AN: 602575798 References: <8bkv48$dcm$1@uranium.btinternet.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 954081556 2647 164.138.67.174 (26 Mar 2000 14:39:16 GMT) Organization: home NNTP-Posting-Date: 26 Mar 2000 14:39:16 GMT Newsgroups: comp.lang.ada Date: 2000-03-26T14:39:16+00:00 List-Id: Matt a �crit dans le message <8bkv48$dcm$1@uranium.btinternet.com>... >Yo. >Having a bit of trouble with Ada95 at the moment. >What i want to know is- can you write a function that returns no result, or >is there another way to do it? Yes with a procedure ! >The program is basically a huge database, and the data is entered into an >array of records. The program loads a text file into the array, and then >presents a list of options (menu). How this can a "huge database" as everything is in memory :) >One of the options is a to 'search' the >database and display a screen of required information. What i want is to >simply call a function/ procedure to do this - but I don't want any result >returned. I don't want the search option to be included into the main >program, as it is huge. It works as a program in itself, but i want to call >it from other programs as either a function-like operation or by directly >calling the compiled/built ada .exe. Not clear to me what you want to do here... >I am using GNAT ada95 on a windows98 machine. Good choice. Well for GNAT at least :) >Any suggestions? The problem you face does not looks like an Ada one to me but it is more a design problem... Try to have a clear idea of what you want to do... Pascal. --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"