You are here: Start » Filter Reference » Data Flow » Loop Generators » Loop
Module: | FoundationLite |
---|
Generates a loop that ends at the first invocation with False on the input.
Applications
Name | Type | Description | |
---|---|---|---|
inShouldLoop | Bool | If 'True' the loop will be continued | |
inDelay | Integer | Time between iterations in milliseconds |
Examples
Remarks
The Delay parameter determines how long the Loop filter will last in subsequent iterations. The value is not taken into consideration in the first iteration. Therefore, the Loop filter should be put at the beginning of the macrofilter if the user needs to set the delay between iterations.
It is possible to end Loop immediately under certain condition. For such case use Exit.
All Enumerate* filters (such as EnumerateImages or EnumerateCombinations) provide looping themselves, without additional Loop filter.
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- EnumerateImages – Scans a disk directory for image files and then returns the images one by one in consecutive iterations sorted according to the specified order.
- EnumerateCombinations – In each consecutive iteration produces a consecutive combination of integer numbers.