Where did you get '#' from? Anyway my, bad, try this:

Code:

for each $printer in split($printers, ",")
$curPrinter = "$" + $printer
$ = execute('$$curPrinter = $curPrinter')
? $curPrinter
if instr($curPrinter, @userid)
? "user gets this printer"
endif
next

_________________________
Eric