code to sort a structure?

2000-05-24 Thread Lomvardias, Christopher

Hi,

Wondering if anyone has developed any code that will sort a nested structure
based on values of the keys.

I am dynamically generating some nested structures and want to be able to
output some of the nested keys in a table.

There are four nested structures called stApp.stPayment.V,
stApp.stPayment.MC, stApp.stPayment.D, stApp.stPayment.AE that each have
four keys named "lengths, validation, startdigits and mask". I want the
output to present the values of the four keys in order by stApp.stPayment
(meaning I want my table rows in the following order: AE, D, MC, V).

Thanks,

Chris
--
Chris Lomvardias
[EMAIL PROTECTED]
Syscom, Inc.
400 E. Pratt Street, Suite 300
Baltimore, MD 21202
(410)539-3737 x1722 voice
(410)539-7302 fax
[EMAIL PROTECTED] (pager via email)
http://www.syscom.com/
--

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: code to sort a structure?

2000-05-24 Thread Sharon DiOrio

I believe there may be a "structSort" custom tag floating around on the
Developers Exchange.  But what you can also do is output the structures as
lists and sort the lists.

stApp.stPayment



#stApp.stPayment[i][ii]#



I hope you get the idea.  If not, let me know.

HTH!

Sharon

At 06:50 PM 5/24/2000 -0400, Lomvardias, Christopher wrote:
>Hi,
>
>Wondering if anyone has developed any code that will sort a nested structure
>based on values of the keys.
>
>I am dynamically generating some nested structures and want to be able to
>output some of the nested keys in a table.
>
>There are four nested structures called stApp.stPayment.V,
>stApp.stPayment.MC, stApp.stPayment.D, stApp.stPayment.AE that each have
>four keys named "lengths, validation, startdigits and mask". I want the
>output to present the values of the four keys in order by stApp.stPayment
>(meaning I want my table rows in the following order: AE, D, MC, V).
>
>Thanks,
>
>Chris
>--
>Chris Lomvardias
>[EMAIL PROTECTED]
>Syscom, Inc.
>400 E. Pratt Street, Suite 300
>Baltimore, MD 21202
>(410)539-3737 x1722 voice
>(410)539-7302 fax
>[EMAIL PROTECTED] (pager via email)
>http://www.syscom.com/
>--
>
>---
---
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
> 

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.