Assignment Statements

See Also

Pascal requires a colon in the assignment statement.

Visual FoxPro BASIC
nVal = 7
–or–
STORE 7 to nVal
nVal = 7

Pascal C/C++
nVal := 7
nVal = 7

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