j, your line is wrong.
it actually should be:
code:
If not AScan($xArray,$sExcludedInput.Text) < 0

or shorter:
code:
If AScan($xArray,$sExcludedInput.Text) > -1

_________________________
!

download KiXnet