General information
Category:
Coding, syntax & commands
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only