> -----Original Message-----
> From: Cedric Villat [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 22, 2005 10:50 PM
> To: CF-Talk
> Subject: Re: Case-sensitive Struct keys
> 
> Dave,
> 
> Any ideas on how to do this? The reason I originally did it in a struct,
> was I could simply find the properties of a word, since it was the key. If
> I organize the data as an array of structs and have the word value be a
> key in my struct, wouldn't that require more overhead when searching for
> that word? Do you have any code that would quickly find a word if this was
> the case?

Personally I would use structs for this... the words really aren't "variable
names" rather their labels for variable data (perhaps a subtle
rationalization, but it works for me).

To maintain case sensitivity you'll just have to use array notation to set
and get your key names.

But in this case I think that structs are the way to go.

Jim Davis





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196046
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to