For some trouble shooting i have done the following
 Code:
Dim $Array, $X, $Y
$Computer = corp_tesdall
; Declare the COMPUTER var if not defined on the command line
; If Not IsDeclared($COMPUTER) 
;Global $COMPUTER
;EndIf


Still get an error down on line 101 now. which is still Dim $NicData[UBound($NicArray)]. I copied and pasted this UDF, i must have messed something up.
_________________________
Where ever you go, there you are.