Assignment Statements

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.

See Also

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