NIPO ODIN Version 5.17
*LIST (definition)
Purpose
Defines an answer list.
Syntax
*LIST <n|"name">
Description
- Defines a code list. This command must be specified at the beginning of a line. The code list consists of all the following lines up to the first new command at the beginning of a line.
- If the list is going to be used with a text question
(*ALPHA ) there may be a text between square brackets after the code text, which is used as data to store when the code is selected during the interview. - If the list is going to be used with a numerical question
(*NUMBER ) or a text question(*ALPHA ) the list may contain the same code more than once. This way you can have a multiple labels be coded under the same code value, for example to cover for alternative names, changed brand names or common spelling errors.
Lists provide a great way to reuse code lists, to condense the questionnaire and to maintain code lists that are repetitively used throughout the questionnaire.
Arguments
n A positive integer and is unique within one sub-questionnaire.
name The name of the list. This name must be unique within one (sub-)questionnaire.
Remarks
- In the list definition a code may be followed by the answer option
*NOCON . The use of this answer option specifies that the specific code always will be displayed when the list is used. With this option it is for example possible to always display the answer category "Don’t know". - For each code in the code list and when the list is used in combination with a
*CODES question, the following code options are allowed: *OPEN (codes option), *NOCON , *NMUL , *SAVE (codes option), *FONT (switching), *GROUP , *NEWCOLUMN and *SWILANG . - When the list is used in combination with
*NUMBER or *ALPHA , only the code option *NOCON is allowed. The meaning of the option is that this code will not disappear from the list when typing an answer. All other code options result in a syntax error. - A blank line at the bottom of the list is considered part of the list and is displayed in the code list of the question that uses the list.
Example
*LIST 1 1: Citroën 2: Fiat 3: Ford 4: Hyundai 5: Mazda 6: Mitsubishi 7: Nissan 8: Opel 9: Peugeot 10: Renault 11: Suzuki 12: Toyota 13: Volkswagen 14: Volvo 15: Other *NOCON *OPEN
16: Don’t know *NOCON
|