Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | 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 MashZone NextGen mashup samples and where to find them.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release