From: tmoran@bix.com
Subject: Re: Ada Query...
Date: 2000/03/26
Date: 2000-03-26T00:00:00+00:00 [thread overview]
Message-ID: <D0uD4.1075$ve.34827@news.swbell.net> (raw)
In-Reply-To: 8blgui$d46$1@plutonium.btinternet.com
>finer point on it, I want this code outside the 'main' program, that can be
>...
>package including this source code, but (?) does a package have to consist
>of functions? Can the package spec and body contain procedures, just like as
A package can, and usually does, have one or more functions or
procedures.
package Search is
procedure Find;
procedure Find_Special(Special : in String);
function Found_Count return Natural;
etc, whatever
end Search;
package body Search is
procedure Find is
begin .... end Find;
etc
end Search;
with Search;
procedure Main is
begin
Search.Find;
etc
>I am not using any book at the moment...I can't find it!
You could also learn brain surgery without book or teacher
by experimenting and asking newsgroup questions. That too
would be messy and slow.
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 ` Ken Garlington
2000-03-27 0:00 ` Ted Dennison
2000-03-26 0:00 ` Pascal Obry
2000-03-26 0:00 ` Robert Dewar
2000-03-26 0:00 ` Matt
2000-03-26 0:00 ` Robert Dewar
2000-03-26 0:00 ` Lab. - konto NDG-48
2000-03-26 0:00 ` tmoran [this message]
2000-03-26 0:00 ` Preben Randhol
2000-03-26 0:00 ` Marin D. Condic
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