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 statement is identical to the Exit statement.

While executing grouped, the statement 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 statement

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

The statement can also optionally set the action test state to true or false if the statement is executed.

For additional information see Flow Control