Partager via


Assignment Statements (Visual FoxPro)

You can compare how assignment statements differ between Visual FoxPro and other programming languages.

Note

In Visual FoxPro, you can also assign values to fields in a table with the REPLACE command.

Visual FoxPro

BASIC

nVal = 7

-OR-

STORE 7 to nVal

nVal = 7

Pascal

C/C++

nVal := 7
nVal = 7

See Also

Reference

= Command

STORE Command

Visual FoxPro and Other Programming Languages