So with IIF one could test for any T/F condition and the return could be anything you specify?

 Code:
 $Function = IIF($Array[$Count] = "A", "Master","Slave")


Would result in $Function becoming either Master or Slave?
_________________________
Today is the tomorrow you worried about yesterday.