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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ecb950fc3673a68 X-Google-Attributes: gid103376,public From: "Ken Garlington" Subject: Re: Ada Query... Date: 2000/03/26 Message-ID: #1/1 X-Deja-AN: 602550907 References: <8bkv48$dcm$1@uranium.btinternet.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 954075442 209.250.225.153 (Sun, 26 Mar 2000 06:57:22 CST) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Sun, 26 Mar 2000 06:57:22 CST Newsgroups: comp.lang.ada Date: 2000-03-26T00:00:00+00:00 List-Id: Hint: Notice the difference in these two sentences in your original post: "can you write a function that returns no result" "What i want is to simply call a function/ procedure to do this" Check the Ada Language Reference Manual for details... "Matt" wrote in message news:8bkv48$dcm$1@uranium.btinternet.com... > Yo. > Having a bit of trouble with Ada95 at the moment. > What i want to know is- , 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. > >