Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass by reference to a function
Message
 
 
To
10/12/2003 13:13:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00857755
Message ID:
00857762
Views:
24
This message has been marked as the solution to the initial question of the thread.
Tracy,

The "@" character is used to indicate that parameter is passed by ref. The "&" starts macro substitution.
RetVal = MyPersProc(@Parm1, Parm2)
>What is wrong with:
>
>
>RetVal = MyPersProc(&Parm1, Parm2)
>
>
>Shouldn't parm1 be passed by reference and parm2 by value?
>I keep getting a Function name is missing ). error message when I run it...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform