Sets are typically used in code masks of single, multi, open text list, numeric list, ranking and grid questions, in loops, and in scale masks of grids. A set consists of a collection of strings that represent codes. When used in code and scale masks, the codes contained in the set are used to determine which answer alternatives are to be displayed to the respondent. Only answers corresponding to codes from the set returned from the expression in the code or scale mask will be shown.
Constructor
An instance of the Set object can be created like this:
JScript example:
s = new Set();
JavaScript example:
s = set();
You will also get instances of the Set object returned from the functions a, set, nset, nnset, and Filter.