NIPO ODIN Version 5.17
*PNW
System
NIPO CATI only.
Purpose
Defines a page of text, not waiting for an entry.
Syntax
*PNW
See also
*PAGE *HELP *INFO *INSTRUC *QUESTION
Description
Creates a page text. This command has to be at the beginning of a line. The text consists of all following lines up to the first new command that is at the beginning of a line, excluding ** , *? and *FONT (switching). During the interview this text is displayed. The text usually contains an explanation for the next question or questions. The system does not wait for an ENTER or OK press from the interviewer / respondent before carrying out the next command. Use this command if for instance a heavy calculation will take some time and a brief information message is required.
Example
*PNW The system is now calculating if the year is a leap year (where February has 29 instead of 28 days).
Please wait a moment.
*QUESTION 1 *ALPHA 61L4 *VARS YEAR,HELPYEAR *TEXTVARS LEAPYEAR *DATE Q1 *PUT YEAR Q1 *PUT HELPYEAR Q1
*REPEAT 3 *IF [HELPYEAR < 1001 ] *END *PUT HELPYEAR [ HELPYEAR - 1000 ] *ENDREP *IF [ HELPYEAR = 1000 ] *PUT LEAPYEAR "a leapyear" *GOTO 2
*REPEAT 10 *IF [HELPYEAR < 101 ] *END *PUT HELPYEAR [ HELPYEAR - 100 ] *ENDREP *IF [ HELPYEAR = 100 ] *PUT LEAPYEAR "not a leapyear" \ *GOTO 2
*REPEAT 25 *IF [HELPYEAR < 5 ] *END *PUT HELPYEAR [ HELPYEAR - 4 ] *ENDREP *IF [ HELPYEAR = 4 ] *PUT LEAPYEAR "a leapyear" \ *ELSE *PUT LEAPYEAR "not a leapyear"
*QUESTION 2 *NCLS At the moment it is *?YEAR. This is *?LEAPYEAR
|