RepeatForEach | |||||||||||||
Type | control structure | ||||||||||||
Dictionary | LCB | ||||||||||||
Library | LiveCode Builder | ||||||||||||
Syntax |
| ||||||||||||
Associations | com.livecode.language | ||||||||||||
Summary | Executes a list of statements until the Iterator is exhausted. | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Related | Iterator: RepeatForEachChar, RepeatForEachByte, RepeatForEachKey, RepeatForEachElementInList, RepeatForEachElementInArray | ||||||||||||
Description | Use the repeat for each control structure to iterate though the chars of a string, bytes of data, elements of a list or array, or keys of an array. *Note:* The variable which contains the iterand must be declared prior to being used in the repeat loop. |