General information
Category:
Coding, syntax & commands
>>>Hello.....
>>>
>>>Just out of curiosity what is the difference between these two?
>>>
>>>FUNCTION ReturnSomething(MyParameter AS String)
>>>.
>>>.
>>>.
>>>.
>>>ENDPROC
>>>
>>>
>>>FUNCTION ReturnSomething()
>>>LPARAMETER MyParameter
>>>.
>>>.
>>>.
>>>.
>>>ENDPROC
>>>
>>>
>>>Thanks in advance
>>
>>
>>The second has one line of code more :-)
>>No difference.
>
>It's been a while but ISTR Intellisense can take advantage of the first form, so that when you call the function in other code you get prompted for the parameters the same way you do for built-in VFP functions.
I don't have a lot of experience in VFP, but I've never seen this happen.
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