tutorial example

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Sat Nov 12 11:40:55 EST 2005


Ruben Charles wrote:
> That is the diference between a method and a function.
> A method do something and a function return something.

I'd rather say it's the difference between a procedure and a function,
as it is used in e.g. Pascal. Procedures in Pascal don't return
anything, more or less analogue to functions returning void in C/C++.

-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven



More information about the Python-list mailing list