Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Repetitive actions in the routing section
 
Repetitive actions in the routing section
Repeated questions are a special type of repetition that is partially controlled by the way the questions are defined in the metadata section. See also Repeated questions.
Keyword
Description
Do...Until
Repeat statements until a condition becomes True.
Do...While
Repeat statements all the time a condition is True.
For...Next
Repeat statements a specified number of times.
For Each...Next
Repeat statements for each element in an array or collection.
While...End While
Repeat statements all the time a condition is True.
With
Execute a series of statements on a single object.
You can repeat a statement or an assignment for each object in a collection; for example, to refer to the individual repetitions of a loop or grid questions, or refer to all the answers given to an earlier question. The general term for this is Object collection iteration.
See also
Repeating questions
Object collection iteration
Repeat while or until a condition is true
Repeat while a condition is true
A set number of repetitions
Repeat for each element of an array or collection
Executing a series of statements on a single question
Writing interview scripts