From: "Pascal Obry" <p.obry@wanadoo.fr>
Subject: Re: Ada Query...
Date: 2000/03/26
Date: 2000-03-26T14:39:16+00:00 [thread overview]
Message-ID: <8bl7ek$2in$1@wanadoo.fr> (raw)
In-Reply-To: 8bkv48$dcm$1@uranium.btinternet.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]
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"
next prev parent reply other threads:[~2000-03-26 0:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-26 0:00 Ada Query Matt
2000-03-26 0:00 ` Marin D. Condic
2000-03-26 0:00 ` Robert Dewar
2000-03-26 0:00 ` Matt
2000-03-26 0:00 ` tmoran
2000-03-26 0:00 ` Lab. - konto NDG-48
2000-03-26 0:00 ` Robert Dewar
2000-03-26 0:00 ` Preben Randhol
2000-03-26 0:00 ` Pascal Obry [this message]
2000-03-26 0:00 ` Ken Garlington
2000-03-27 0:00 ` Ted Dennison
2000-03-27 0:00 ` phodgpacker
2000-03-27 0:00 ` Robert Dewar
2000-03-27 0:00 ` Ken Garlington
2000-03-27 0:00 ` Marin D. Condic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox