Regards -
Frank
________________________________
From: Frank Dewey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 7:48 AM
To: CF-Talk
Subject: ArrayLen
Hello all,
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>
it's complaining:
The value of the attribute TO is invalid. The value cannot be converted
to a numeric because it is not a simple value.Simple values are
booleans, numbers, strings, and date-time values
when I output ArrayLen(S1Array) I get 7...so I know that this is a valid
array and should be a number? What am I doing wrong?
Thank you -
Frank
-----------------------------------------------------------
The Preceeding Email Has Been Scanned
and Verified By QBOS Security Systems
-----------------------------------------------------------
QBOS, Inc.
14275 Midway Rd. Suite 220
Addison, TX 75001
972.233.5066
________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

