Desktop User Guides > Professional > Data management scripting > Creating new variables
Creating new variables
It is easy to define new variables in a DMS file. For example, you can create categorical variables from numeric variables, Boolean variables for use as filters, banner variables to use during crosstabulations, etc.
This section provides some examples of creating different types of variables.
The examples in this section are included in the NewVariables.dms sample DMS file that is installed with the UNICOM Intelligence Developer Documentation Library. For more information, see Sample DMS files.
UNICOM Intelligence Professional
Example 1: Creating a categorical variable from a numeric variable
Example 2: Creating a numeric variable to store the total number of questions answered
Example 3: Creating filter variables
Example 4: Creating “Total Awareness” variables
Example 5: Creating banner variables
Example 6: Creating nets
Example 7: Adding categories to existing variables
Data management scripting