Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return a value of .F. to a program
Message
From
14/12/2006 09:32:44
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01176571
Message ID:
01177579
Views:
4
What I changed was
DO pgmname parm1, parm2, @parm3
to
DO pgmname parm1, parrm2, parm3
In pgmnameI set parm3 and test the result in the calling program. It appears to work.

>>My problem was the @ in front of the field name. When I change @parm3 to parm3 in my do command it worked.
>>
>>Thanks to every one who help.
>
>If it was a field name, you'd have had that problem even in a function call. You can only pass by reference a variable, not a field.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform