Operation: foreach image do

foreach image do operation

Author:

Volker Bäcker

Example

foreach image do example Open and show all images selected by the user.

Description

The user sets up a list of image filenames. "foreach image do" and "foreach image end" build a loop. In each cycle the result of "foreach image do" is the current filename. When "foreach image end" is reached the current filename is set to the next in the list and the execution continues after "foreach image do". When the last filename in the list is reached execution continues after "foreach image end".

Options

image list

list editor
image list: Pressing "edit" openes the list editor that allows to add and remove images from the list. When a folder is added all images in the folder and in all subfolders are added.

Parameter

The operation has no parameters.

Results

The operation has three results:
  1. current filename:
    The current filename as a String.
  2. at end:
    A Boolean that tells whether the last image filename in the list has been reached.
  3. do operation:
    This is the operation itself. This result is needed by the "foreach image end" operation to determine where to continue execution.