Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trivial question re return value and ()
Message
From
18/05/2016 10:41:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Trivial question re return value and ()
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:
01636581
Views:
103
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
Next
Reply
Map
View

Click here to load this message in the networking platform