Sorry Bryce, perhaps my novice programming is showing... If I add the following to the script, it errors.
code:

break on

$output = pipe("net user")

for each $line in $output
?"$line"
next

For $X = 0 To ubound($array)
? $array[$X]
Next
get $

function pipe($command)
...


But, if I change DIM $array[9] to GLOBAL $array[9], it works.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.