>>The main difference is that, by default, parameters are passed to procedures by reference but are passed to functions by value.
>
>Isn't this difference due to the way they are called (DO MyFunc / MyFunc()), rather than the definition as FUNCTION MyFunc / PROCEDURE MyFunc ??
Yes, it's how it's called that makes the difference.
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.