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.6 required=5.0 tests=BAYES_05,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a7e715f4b0d51477 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-08 08:14:59 PST Path: bga.com!news.sprintlink.net!pipex!uunet!news1.digex.net!cnj.digex.net!cnj!gentle From: gentle@cnj.digex.net (Gentle) Newsgroups: comp.lang.ada Subject: Re: Using procedures Date: 8 Dec 1994 12:40:29 GMT Organization: Express Access Online Communications, Greenbelt, MD USA Message-ID: <3c6urt$m8v@cnj.digex.net> References: <2EE38942@SMTPGATE2.STRATCOM.AF.MIL> <3c2cak$4lh@news.bu.edu> NNTP-Posting-Host: cnj.digex.net X-Newsreader: TIN [version 1.2 PL2] Date: 1994-12-08T12:40:29+00:00 List-Id: On 6 Dec 1994 18:59:32 GMT, Bill Heiser (heiser@bu.edu) wrote: : I didn't notice anyone asking anyone to "do a student's homework". : Did you? Sorry if you interpreted the question that way. I see : nothing wrong with going to the net asking for help on how to : approach a problem. There's no difference between doing that : and going to a fellow student or the professor. The only difference : is that I see the professor for 3 hours per week, whereas : the net is here 24x7. Furthermore the whole point to homework is : to help the student learn the material. It's not an exam! Well, here's probably the kind of advice you were asking for. Take related procedures and put them into a package together. The package specification holds just the declarations of the procedures, while the body holds their bodies (eew, sounds morbid). Anyway, you can "with" in that package from a main program unit (or another package), and be able to call the procedures using dot notation (like Package.Procedure(parms...)). Hopefully this helps. -- ========================================================================= gentle@cnj.digex.net Software Engineer (extraordinaire!) Level: International Hacker Edison, NJ "All flesh is grass" -- Isiah Smoke a friend today. =========================================================================