Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Functions or procedures
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00809351
Message ID:
00809365
Views:
30
>>Hi Jeff,
>>
>>In VFP there's no difference between FUNCTION and PROCEDURE.
>
>This is true if you ignore that Procedures by default have parameters (arguments) passed by reference i.e. the values passed can be modified in the procedure and any changes can still be seen in the calling routine after returning from the procedure. Functions on the other hand, by default receive parameters by value - so no chance of accidental modification. (see SET UDFPARMS TO)

You're wrong. The difference you're talking about is in the way you call FUNCTION/PROCEDURE not in the way you decalre them.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform