I normally use
code:
IF AScan($xArray,$sExcludedInput.Text)+1
ENDIF

_________________________
There are two types of vessels, submarines and targets.