comp.lang.ada
 help / color / mirror / Atom feed
* Procedure vs function
@ 2014-09-06  2:19 Stribor40
  2014-09-06  5:44 ` Niklas Holsti
  0 siblings, 1 reply; 3+ messages in thread
From: Stribor40 @ 2014-09-06  2:19 UTC (permalink / raw)


Would anyone please try to explain difference between procedure and function.  Some online material describes procedure as of series of declaration and algoritmic code and function is something that returns data type.  Does this mean that procedure can be within the scope of function perhaps body of the procedure inside the body of function?
Any info or simple example would be appreciated


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-06  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-06  2:19 Procedure vs function Stribor40
2014-09-06  5:44 ` Niklas Holsti
2014-09-06  6:25   ` Jeffrey Carter

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