if the item is not in the array, it will return -1.
thus, simply using:
If AScan ($SystemList, @WKSTA)>=0

or:
If AScan ($SystemList, @WKSTA)>-1
_________________________
!

download KiXnet