Data editing > Changing the contents of a variable
 
Changing the contents of a variable
This section describes how to assign values to variables and the statements emit, delete and priority, all of which can be used to alter the contents of a variable. Emit, delete and priority are used only with columns whereas assignment statements can deal with character, integer and real variables.
These statements change the contents of a column as it exists during the run: at no time do they change the corresponding column in the data file.
See
Assignment statements
Adding codes into a column
Deleting codes from a column
Forcing single-coded answers
Setting a random code in a column
Reading numeric codes into an array
Clearing variables
Checking array boundaries in assignment statements
Assigning values to T variables in the data file