Links are not active on this page.
 Assignment Statements (Visual FoxPro)

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

NoteNote

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

 CopyCode imageCopy Code
nVal = 7
Pascal C/C++
 CopyCode imageCopy Code
nVal := 7
 CopyCode imageCopy Code
nVal = 7

Expand imageSee Also