Well, in the "old school", a function had to return a single value, and a procedure could not return anything. In VFP, I think FUNCTION is just included for backwards compatibility.
Mark
>Can anyone tell me the difference between a PROCEDURE and a FUNCTION.
>
>I thought there was a difference in FP/DOS, but doesn't apply with VFP?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.