> By definition, functions return a value, procedures do not. In either
> case,
Sorry to disagree, but by definition, they both return values. The only
'real' difference between functions and procedures is the way that
parameters are passed (by value or by reference)
> they should be designed to accomplish one and only one thing (this is
> referred to as program cohesion).
However, I agree with this fully.
/Paul