George, What's in the varibles strCR and ListLoop? What's the point of the variable "test" since you aren't using it (at least not here)?
-Mark -----Original Message----- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 11:38 AM To: CF-Talk Subject: re:CONT'D.. What the heck is going on? Hi, I just don't see it. Why won't the below <cfif work properly? <cfset test = 'TSCE,TSED,TSEE,TSEM'> <cfloop list="#ListLoop#" Index="Line" Delimiters="#strCR#"> <!--- The ListGetAt(Line,1,'|') can equal TSCE and others. ---> All I want to do is check to see if ListGetAt(Line,1,'|') is equal to a occurence in variable test. Whats wrong with the <cfif syntax? It's not finding the match? <cfoutput> <hr> <cfif ListFindNoCase(test,ListGetAt(Line,1,'|'))> <font color="red">AAAA</font> <cfelse> <font color="blue">BBBBB</font> </cfif> env_var: #ListGetAt(Line,1,'|')# destination: #ListGetAt(Line,2,'|')#<br> <hr> </cfoutput> </cfloop> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137523 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

