Application icon

Next File

This statement conditionally stops the execution of the current action and proceeds to processing the next file to be processed. The statement can be executed always or only if the action test state is true or false.

While executing stepwise, the function is identical to the Exit function.

While executing grouped, the function essentially successively returns to the outermost called action which can begin processing the next file.

example:

Stepwise action A is calling grouped action B with file 3

grouped action B calls grouped action C

grouped action C calls grouped action D which executes a Next File function

After the Next File statement is executed, processing resumes at the start of action B with file 4.

For additional information see Flow Control