I need this script to run through each check and build a list based on what checks are valid, ignoring the invalid ones

 Code:
Select
   Case $CHECK1 <> "NOT VALID" $SOFTCHECK = "Item1" $SOFTITEM = "KIX Check"
   Case $CHECK2 <> "NOT VALID" $SOFTCHECK = "Item2" $SOFTITEM = "VB Check"
   Case $CHECK3 <> "NOT VALID" $SOFTCHECK = "Item3" $SOFTITEM = "C++ Check"
EndSelect

If $CHECK1 <> "NOT VALID"
  $GBLABEL.TEXT = $SOFTCHECK + ": " + $SOFTITEM
EndIf

If $CHECK2 <> "NOT VALID"
  $GBLABEL.TEXT = $SOFTCHECK + ": " + $SOFTITEM
EndIf

If $CHECK3 <> "NOT VALID"
  $GBLABEL.TEXT = $SOFTCHECK + ": " + $SOFTITEM
EndIf


Of course, the list is long 10-15 items and I need it to display all VALID Checks without the NOT VALID ones. Hopefully this will be a dynamic list...

Not complete code, but there should be enough to get the idea.