Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function vs Procedure
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00671285
Message ID:
00671300
Views:
17
Hi Mike

Even more devious.

I assume
myProcedure(param)
also passes variables by reference then or is this only when using the DO ... WITH form

Regards
Geoff Scott

>>Hi
>>
>>What is the difference between a Function and a Procedure???
>>
>>Regards
>>Geoff Scott
>
>Hi Geoff,
>
>This subtle difference is mentioned in the Remarks under VFP Help for the SET UDFPARMS Command:
>
>By default, variables are passed to a user-defined function by value. (Variables passed to procedures with DO ... WITH are passed by reference.)
>
>Mike
May all your weeds be wildflowers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform