comp.lang.ada
 help / color / mirror / Atom feed
From: gentle@cnj.digex.net (Gentle)
Subject: Re: Using procedures
Date: 8 Dec 1994 12:40:29 GMT
Date: 1994-12-08T12:40:29+00:00	[thread overview]
Message-ID: <3c6urt$m8v@cnj.digex.net> (raw)
In-Reply-To: 3c2cak$4lh@news.bu.edu

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.
=========================================================================



  reply	other threads:[~1994-12-08 12:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-05 21:42 Using procedures Bennett, Chip (KTR) ~U
1994-12-06 18:59 ` Bill Heiser
1994-12-08 12:40   ` Gentle [this message]
1994-12-07 20:46 ` -mlc-+Schilling J.
1994-12-07 23:35 ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1994-12-06 17:20 Bob Wells #402
1994-12-06 19:02 ` Bill Heiser
1994-12-03 20:32 Bill Heiser
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox