Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass by reference to a function
Message
From
10/12/2003 13:21:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00857755
Message ID:
00857767
Views:
26
Duh, don't know what I was thinking! :0) Thanks (AGAIN) Sergey!

Tracy

>Tracy,
>The "@" character is used to indicate that parameter is passed by ref. The "&" starts nacro 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...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform