Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trivial question re return value and ()
Message
 
 
To
18/05/2016 10:41:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01636581
Message ID:
01636587
Views:
66
>HI all,
>
>Trivial question: I have seen and used both of these at the end of procedures to return a value:
>
>(where lnReturn is a var)
>
>RETURN lnReturn
>
>RETURN ( lnReturn )
>
>Is there any real difference? Or when would the one with parenthesis be required?
>
>Albert

In this case I believe there is no difference and I would use the first form.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform