Learning
Community
Open Exchange
Global Masters
InterSystems IRIS Data Platform 2019.4 / System Interoperability / Business Process and Data Transformation Language Reference / DTL Elements / DTL <default>
Previous section   Next section

DTL <default>

Execute contents if none of the <case> elements in a <switch> element evaluate to true.

Syntax

<switch>
   <case condition="1">
   ...
   </case>
   <default>
   ...
   </default> 
</switch>

Attributes

None.

Elements

Element Purpose
<annotation> Optional. A text string that describes the <default> element.

Description

The <default> element appears at the end of the <switch> element, and is executed if none of the <case> elements evaluate to true.
Previous section   Next section