NIPO ODIN Version 5.17

*USELIST

Purpose

Use answer codes from a list.

Syntax

*USELIST <n|[expression]|"name">

Description

This command is always used in combination with a closed question and uses a list as a substitute for (a part of) a code list. This is similar to the *LIST command except that *USELIST has to be used as (part of) a code list while *LIST has to be used as a question option. More than one *USELIST may be used in a single question.

Arguments

n|expression
This is a positive integer or expression that indicates an existing list.

name
This is the name of an existing list.

Remark

This command can only be used in the context of closed coded questions.

Example

*LIST 1
1: Heineken
2: Amstel
3: Grolsch
4: Carlsberg
5: Tuborg

*QUESTION 1 *CODES L7 *MULTI
What brands of beer do you know?

*USELIST 1

6: Other *OPEN
7: Don’t know *NMUL

In this example, the first five codes come from a predefined code list.

See Also