of course you did it in one line...I had

KeyList = StructKeyList(stShoppingCart);
MaxValue = ListLast(ListSort(KeyList, "Numeric", "ASC"));

oh well, another lesson learned from the CF-Jedi Master.

~Ch�

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 4:33 PM
To: CF-Talk
Subject: RE: Struct Question...


use ArrayMax(structKeyArray(theStruct))

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 2:28 PM
> To: CF-Talk
> Subject: Struct Question...
>
>
> I have a numerical set of structure keys that are
> incrementally set. Because they can be deleted, I would like
> to know the easiest way to get the highest value of my
> StructKeyList???
>
> Does this make sense???
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to