Share via


Passing Data to Parameters in Other Programming Languages

You can compare how the passing of data differs between Visual FoxPro and other languages.

The following table compares passing data to parameters by reference between Visual FoxPro and other languages.

Visual FoxPro

BASIC

=ABC(@X)

–OR–

DO ABC WITH X

ABC X

Pascal

C/C++

procedure ABC

var x:integer);

ABC(&VAR);

The following table compares passing data to parameters by value between Visual FoxPro and other languages.

Visual FoxPro

BASIC

=ABC(X)

ABC ByVal X

Pascal

C/C++

procedure ABC (x:integer);

ABC(X);

See Also

Tasks

How to: Pass Data to Parameters by Reference

How to: Pass Data to Parameters by Value

Concepts

Passing Data to Parameters

Reference

Visual FoxPro and Other Programming Languages