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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,794c64d1f9164710 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-21 16:22:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.flash.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr21.news.prodigy.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: functions, packages & characters References: <20020221032525.25608.00002542@mb-mc.aol.com> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 64.175.243.17 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr21.news.prodigy.com 1014337320 ST000 64.175.243.17 (Thu, 21 Feb 2002 19:22:00 EST) NNTP-Posting-Date: Thu, 21 Feb 2002 19:22:00 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: SCSYASVGXZUWSVPXN[O@_WH@YR_B@EXLLBWLOOAFBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN Date: Fri, 22 Feb 2002 00:22:00 GMT Xref: archiver1.google.com comp.lang.ada:20236 Date: 2002-02-22T00:22:00+00:00 List-Id: > package obtain is > function Get_Line; > end obtain; > > with Text_io; > use Text_io; > package body obtain is > begin <- oops You are making progress toward a syntactically legal Ada program. But you don't write a novel by starting with a bunch of sentence fragments and trying to rearrange them until a Publisher says "Yes!". First you learn how to compose legal, meaningful, sentences. Then you decide on a structure and plot for your novel, and finally you write sentences to show the reader the story. It appears you really need an Ada textbook, either paper or online. Or at the very least, study some existing Ada programs and copy and modify to get one to do what you want. Look at www.adapower.com for references to books, tutorials, and sample source code.