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 IdInstructionValue
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 IdQuestion IdInstructionValueColumn NumberColumn TitleData Type
raceoth
$>
$>race
$>
$>
$>
$>
$>
uppercase
$>setVar
$>paramListLookup
$>setVar
$>if
$>thenVar
$>elseVar
$>fi
$>raceOther
$>raceSDTM
$>raceVar
$>race == 5
$>raceOther
$>raceVar
$>
9RACEString



Need more help?

Please visit the Fountayn Contact Information page.