> From: Frank Dewey
>  
> I've got an easy one (for yall anyway).  I'm trying to loop
> through an array and check a value...but I'm doing somnething
> syntactically incorect...I've looked and output the value but
> I still don't understand what's going on.  Here's what I've got:
>  
> <cfloop From="1" to="ArrayLen(S1Array)" index="i">
>      <cfif s1 EQ S1Array[i] AND S3Array[i] EQ 0>
>           <cfset hasSibling = true>
>           hasSibling: #hasSibling#<br>
>      </cfif>
> </cfloop>

You're missing the #'s

<cfloop From="1" to="#ArrayLen(S1Array)#" index="i">
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to