Quote:

or...

Code:

$Printer1='user1','user2','user3'

if ascan($printer1,'user3')+1
? "user3 is in Printer1 variable"
endif







the trick is that i want to calculate the string name (printer1,printer2, etc.) dynamicaly