QUESTALL(YSDATA,YS) |
Retuns Item text, Intro, Choicetypes and Display information for all
Questions in a Specified Instrument.
Input: YS("CODE"):As test name
Output: YSDATA(1)=[DATA] or [ERROR]
YSDATA(2)="NUMBER OF QUESTIONS="_N3
YSDATA(3)=QUESTION NUMBER1=ien for MH Question^QUESTION
SEQUENCE^DESIGNATOR
YSDATA(4)=QUESTION TEXT1=fIRST line of text
YSDATA(5)=additional text lines as needed
YSDATA(6)=INTRO TEXT1=IEN FOR MH INTRO^First intro line
YSDATA(7)=additional intro lines as needed
YSDATA(8)=DESC1=Respone Type^CHOICETYPE^MIN^MAX^IS REQUIRED
^HINT^CHOICEIDENTIFIER
YSDATA(9)=QDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^ Fontsize^FontColor ^Alignment
^left^Mask^Colums^Component (for question text)
YSDATA(10)=IDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for intro text)
YSDATA(11)=CDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for choice)
:
Repeat for each item in test
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
CODE |
Input |
Name of Instrumnet IN 601.71
|
YSDATA |
Output |
Output: YSDATA(1)=[DATA] or [ERROR]
YSDATA(2)="NUMBER OF QUESTIONS="_N3
YSDATA(3)=QUESTION NUMBER1=ien for MH Question^QUESTION
SEQUENCE^DESIGNATOR
YSDATA(4)=QUESTION TEXT1=fIRST line of text
YSDATA(5)=additional text lines as needed
YSDATA(6)=INTRO TEXT1=IEN FOR MH INTRO^First intro line
YSDATA(7)=additional intro lines as needed
YSDATA(8)=DESC1=Respone Type^CHOICETYPE^MIN^MAX^IS REQUIRED
^HINT^CHOICEIDENTIFIER
YSDATA(9)=QDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^ Fontsize^FontColor ^Alignment
^left^Mask^Colums^Component (for question text)
YSDATA(10)=IDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for intro text)
YSDATA(11)=CDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for choice)
:
Repeat for each item in test
|
|
OLDNEW(YSCODEN,YSOLDNUM) |
returns new scale ien for older intruments
input YSCODEN ien OF 601.71
YSOLDNUM as ien of "S" MULT of 601 (1= DEFAULT)
output ien OF 601.87, 0=ERROR
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
YCODEN |
Input |
input YSCODEN ien OF 601.71
|
YSOLDNUM |
Input |
YSOLDNUM as ien of "S" MULT of 601 (1= DEFAULT)
|
|
RL(YSCODEN) |
RL(YSCODEN) ;requires license
;input YSCODEN ien OF 601.71
;output Y/N/0
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
YSCODEN |
Input |
input YSCODEN as ien OF 601.71
|
|