Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call a procedure like a method syntax
Message
 
To
21/04/2009 17:33:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01395833
Message ID:
01396165
Views:
70
Do SomeProcedure with lcSomeCharString1, lcSomeCharString, llSomeBoolValue
With the above syntax your parameters are passed by reference by default and to pass them by value you must surround them with ()'s
SomeProcedure(lcSomeCharString1, lcSomeCharString, llSomeBoolValue)
With this syntax your paratemeters are passed by value by default adn to pass by references you must preceed each one with the @ symbol.
Previous
Reply
Map
View

Click here to load this message in the networking platform