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.1 required=5.0 tests=BAYES_05,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: tmoran@bix.com Subject: Re: Ada Query... Date: 2000/03/26 Message-ID: #1/1 X-Deja-AN: 602675704 References: <8blgui$d46$1@plutonium.btinternet.com> X-Complaints-To: abuse@swbell.net X-Trace: news.swbell.net 954100899 206.170.2.43 (Sun, 26 Mar 2000 14:01:39 CST) Organization: SBC Internet Services NNTP-Posting-Date: Sun, 26 Mar 2000 14:01:39 CST Newsgroups: comp.lang.ada Date: 2000-03-26T00:00:00+00:00 List-Id: >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.