each

each(block)

Repeat to call do handler of given script object with passing each item in the XList as an argument.

The parameter “block” is a script object which have a do handler accepting only one argument. The do handler must return anything.When the do handler return false, the process is stoped immediately.

Parameters