Section
Groups a series of statements together.
Syntax
Section label
statements
End Section
Argument
label
A name to give to the section.
Remarks
The section
label can be any combination of characters that starts with a letter. Section labels must be unique within the script. Section labels can also be used as the target location of
GoTo statements.
It is possible to nest sections.
Examples
The following example illustrates how you can use Section blocks when you are defining the routing context of an interview script that will be activated in version 3.0 (or later) of UNICOM Intelligence Interviewer:
Section MyQuestions
Q1.Ask()
' If the No Answer special response was
' selected, go to section Q3Val...
If Q1.Response.Coded = {NA} Then
Goto Q3Val
End If
Q2.Ask()
Section Q3Val
Q3.Ask()
If Q3 = {NA} Then
Q3a.Ask()
End If
End Section
Q4.Ask()
End Section
See also