Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure or Function? Warning - lStupidQuestionFlag=.T.
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00360281
Message ID:
00360371
Views:
15
>While VFP doesn't differentiate between the two, I'd say that when you're returning a value, call it a FUNCTION and if not call a PROCEDURE. This not only is consistent with other languages (where the two aren't interchangable), but, I believe, adds to the readability.

George,

I'll disagree with you here. I say use the same keyword all of the time, that way when you are searching for routine in a source file you simply search for PROCEDURE or FUNCTION and find them all no matter how you intended to use them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform