NIPO ODIN Version 5.17
*QUESTION
Purpose
Defines a question.
Syntax
*QUESTION <n>|X
or
*Q <n>|X
Description
Defines a question with question number n . This command has to be at the beginning of a line.
The question consists of all lines up to the first command that is at the beginning of a line (excluding for ** , *? , *FONT and *PICT ). After the command *QUESTION (or *Q ) there are often more commands on the same line. These commands on the question line define the specific conditions and options when answering this question.
Arguments
n A positive number that indicates the question number. Question numbers are made up of positive numbers (>= 1). No alphabetic or other characters are allowed (except for X, see below). Each question number has to be unique within the (sub-) questionnaire. You may use any question number in the range 1 to 2147483647 in any order - the order of the questionnaire is not set by the question numbers. The NIPO ODIN Developer allows you to renumber question numbers if necessary.
X A placeholder value to be filled with a question number automatically later, by renumbering the questionnaire. It is not possible to set routing or filtering for placeholder question numbers.
Remarks
Questions without question text and codes are considered dummy questions and are skipped during execution.
Example 1
*QUESTION 1 *CODES L1 Int. type Gender of respondent.
1: Male 2: Female
*QUESTION 2 *NUMBER L2 What is your age?
*QUESTION 9999 These were all the questions. Thank you very much for your co-operation.
*END
In this example Question 1 is a precoded question, Question 2 is a numeric question and Question 9999 is a question without type, where only ENTER is required to continue.
Example 2
*QUESTION 11 *CODES L1
*QUESTION 12 *NUMBER L2 What is your age ?
*IF [ Q12 <= 24 ] *COPY Q11 [ 1 ] *IF [ Q12 >= 25 & Q12 < 35 ] *COPY Q11 [ 2 ] *IF [ Q12 >= 35 & Q12 < 45 ] *COPY Q11 [ 3 ] *IF [ Q12 >= 45 & Q12 < 55 ] *COPY Q11 [ 4 ] *IF [ Q12 >= 55 & Q12 < 65 ] *COPY Q11 [ 5 ] *IF [ Q12 >= 65 ] *COPY Q11 [ 6 ]
In this example Question 11 is a dummy question, but is created to be able to store the age in 6 distinct codes.
|