Can I forloop an enum compare to string?

It returns a number but the worded part is left out any suggestions?

Hi man , yes you can .
This work fine , if i set the ASF enumerator to WAIT return WAIT , otherwise return NO.

thank you! so no for loop is really needed, this easier than I thought.

Take a moment to hit the button Answer . so we can keep an eye on the unanswered.