On Wed, 17 Feb 2010 17:04:00 -0800, Jonathan Gardner wrote: > (What the heck is a procedure, anyway? Is this different from a > subroutine, a method, or a block?)
The name is used in Pascal, which probably means it originated from Fortran or Algol. A subroutine is a generic piece of code which can be re-used by some unspecified mechanism (GOSUB in Basic, by calling it in most other languages). A function is a subroutine that returns a result, and a procedure is a subroutine that doesn't return anything (not even None, or the equivalent thereof) and operates entirely by side-effect. -- Steven -- http://mail.python.org/mailman/listinfo/python-list