Category
Function
Specifies whether a loop is to be terminated.
Syntax Done(done);
Inputs
Name | Type | Default | Description |
---|---|---|---|
done | flag | none | 0: no termination
1: terminate the loop |
Functional Details
This module terminates a loop. If done is set to:
0 | The macro containing the Done module will continue to execute until
|
1 | The loop is terminated upon completion of the current loop iteration, regardless of how many iterations have been, or remain to be, executed. |
Typically, loops are initiated with ForEachMember or ForEachN, although they can also be implemented with a Get/Set pair and Done.
Notes:
Example Visual Programs
Bounce.net SimpleGetSetLoop.net
See Also
First, ForEachMember, ForEachN, GetGlobal, GetLocal, SetGlobal, SetLocal
Chapter 4. "Data Explorer Execution Model" in IBM Visualization Data Explorer User's Guide.
[ OpenDX Home at IBM | OpenDX.org ]