You're right, thanks for the correction.  StructFindValue() was what I was
thinking of.  ArrayFindValue() would work for me!

Mike

-----Original Message-----
From: Ryan Guill [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 8:59 AM
To: CF-Talk
Subject: Re: Find in an array...


StructFind() searches for a key in a structure, not a value.  The
arrayFind() they are talking about is looking for a value.  Its not
the same.

there is a StructFindValue() but it will only search for simple
variables, not complex ones.

On 6/1/06, Mike Klostermeyer <[EMAIL PROTECTED]> wrote:
> "and 2) more importantly, a great deal of the time an array doesn't just
> contain simple values, but rather contains other arrays, CFC instances,
> queries, etc. In a large number of cases a simple arrayFind() wouldn't
work
> anyway, and a custom function would have to be written anyway."
>
>
> The same could be said for a structure, yet there is a StructFind()
> function.
>
> Mike
>
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241913
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to