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,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ecb950fc3673a68,start X-Google-Attributes: gid103376,public From: "Matt" Subject: Ada Query... Date: 2000/03/26 Message-ID: <8bkv48$dcm$1@uranium.btinternet.com>#1/1 X-Deja-AN: 602543650 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Organization: BT Internet X-MSMail-Priority: Normal Newsgroups: comp.lang.ada Date: 2000-03-26T00:00:00+00:00 List-Id: 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? 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). 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. I am using GNAT ada95 on a windows98 machine. Any suggestions? Regards, Matt.