>Hi
>
>What is the difference between a
Function and a
Procedure???
>
>Regards
>Geoff Scott
Spelling.
There is no difference. Parameters are passed to either the same way depending on how you call them. DO XXX WITH ... passes by reference and XXX() passes by value by default.
You can force parameters to be passed any way you like. Parens around a parameter makes the pass be by value and @ before the param makes the pass by reference.