Use the foreach statement in DekiScript
- Applies to:
- All MindTouch Versions
- Role required:
- Draft Contributor
Expert DekiScript foreach statements for list or global variables
The foreach
statements enables iteration over list or map. The foreach
statement also sets the the global variable __count
to indicate how many iterations it has performed so far.
Examples
Input | Output | |
---|---|---|
|
123 |
|
|
123 |