each

each(a_script)

Call do handler of given script object with each item in the folder as an argument.

each handler can peform for a XFile instance referencing a folder.

a_script must have a "do" handler which require only argument. Each XFile instance in the target folder is passed to the "do" handler.The do handler must return true or false. When the do handler return false, the process is stoped immediately.

Parameters