each

each(a_script)

Call do handler of given script object with passing a reference to each item in the XList as an argument.

a_script must have a do handler which require only argument. The do handler must return true or false. When the do handler return false, the process is stoped immediately.

Parameters