At any given time an action is executing on a specific number of files. This number can never be less than 1. When executing Grouped the number is always 1. When executing Stepwise the number is by default the number of files that were treated as selected when the action first started. The All Files and Always columns in the Action Manager can automatically modify the actual selections.
There are six file availability statements which can limit or possibly expand the set of files available when running stepwise. With the exception of the Active Files to List statement, these statements are ignored and return an action test state of false in the following conditions:
The following is a summary of the available statements. Each statement's name is a link to a more detailed explanation.
Initially file availability statements were introduced to provide a means of changing the set of available files to reflect different conditions. As of Yate v6.16, the if-else-endif construct has an if Variable mode which can often be used to do the same and can be easier to code, read and understand than using Ignore Files and Restore Files statements.
If you change the file availability while executing under the control of a Repeat With or Repeat For statement, make sure you restore the available files to those available when the Repeat statement was started. If you do not, the execution flow may be unpredictable.