Summary
This article defines the instruction elseVar.
Table of Contents
Instruction elseVar
Overview
The elseVar instruction defines the content of a (cell) variable as else value for a subsequent “fi” processing.
Question Id
Unused.
Value
Required. Needs to be the name of a (cell) variable that contains the value that should be used for as else in a subsequent “fi” processing.
Input value
Unused.
Examples
Question Id | Instruction | Value |
otherAction $> $> $> $> $> | codeListLookup $>setVar $>if $>then $>elseVar $>fi | otherEx $>other $>aeacnoth CONTAINS 5 $>Y $>other $> |
Here a code list look-up is performed first and the value of that is stored in the variable “other”. The value stored there is used as else value for the “fi” processing.
Form Type Id | Question Id | Instruction | Value | Column Number | Column Title | Data Type |
---|---|---|---|---|---|---|
raceoth $> $>race $> $> $> $> $> | uppercase $>setVar $>paramListLookup $>setVar $>if $>thenVar $>elseVar $>fi | $>raceOther $>raceSDTM $>raceVar $>race == 5 $>raceOther $>raceVar $> | 9 | RACE | String |
Need more help?
Please visit the Fountayn Contact Information page.