Share via


Parameter Passing by Reference

You can pass parameters by reference two ways in Visual FoxPro.

Visual FoxPro BASIC
=ABC(@X)
–or–
DO ABC WITH X
ABC X
Pascal C/C++
procedure ABC 
var x:integer);
ABC(&VAR);

See Also

Assignment Statements | Case Sensitivity | CASE Statements | Comments | FOR Loops | IF Statements | Parameter Passing by Value | Variable Declaration | WHILE Loops