Mashables and Mashups : Mashups in EMML : Writing Mashups in EMML : Controlling Mashup Processing Flow : <break> : <break> Example and Working Samples
<break> Example and Working Samples
The following example shows <break/> used inside <if> to determine when to break loop processing for a <while> statement:
...
<while condition="true()">
<display message="while-loop:" expr="$cnt"/>
<assign fromexpr="$cnt + 1" outputvariable="cnt"/>
<if condition="$cnt > 10">
<display message="enough already..." />
<break/>
</if>
</while>
For a working sample mashup, see the WhileSample (while.emml). See Mashup Samples for a list of Business Analytics mashup samples and where to find them.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback