thanx for the quick responce Phillip...I'm a beggining CF programmer and
I forgot about thos dang #s!

________________________________

From: Philip Arnold [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 7:57 AM
To: CF-Talk
Subject: RE: ArrayLen

> 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