>> From: Cedric Villat [mailto:[EMAIL PROTECTED]
>> So I guess CF doesn't support case-sensitive keys in a
>> structure. For
>> example, given the following code:
>>
>> test = StructNew();
>> test.a = 5;
>> test.A = 10;
>>
>> I would have hoped that 2 keys would have been made, "a"
>> and "A", but
>> instead only 1 key is made, and has a value of 10. Is
>> there
>> anyway to have
>> CF use case-sensitive keys so that I could do something
>> like
>> the above to
>> get 2 keys?

> Why would you want to do this? Keys/Variables with varying
> names only by
> case is NOT a good idea regardless of language. Even
> though CF doesn't mind,
> other languages do, especially Java! Build good habits now
> to avoid problems
> down the road should you venture into other languages.
> Also, varying case
> variables makes code cumbersome to read!

I suspect the intention is to actually manage case-sensitive
user-input ... i.e. a user entered "a" and then entered "A" and
_expected_ them to be separate items.


s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195846
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