Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What means parameters
Message
From
30/04/2007 09:39:30
 
 
To
29/04/2007 11:42:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01220881
Message ID:
01221079
Views:
24
>>Yes, in VFP it doesn't really matter, though in general function should return a value and the procedure usually should not.
>
>That's a quite arbitrary distinction. IMO. I like the "C" approach better. (All functions/procedures are called "function" - not sure about the exact keyword -, the return value is declared, if no value is returned, the "return value" is declared as "void".)

Actually, not arbitrary. In most languages, that is the main distinction between functions and procedures. VFP is unusual in that it's the call, not the definition, that determines whether you're using a function or a procedure.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform