Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
I am looping thry the list and would like to have some contro over the
display order...
thanks
--
Archives:
Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
I am looping thry the list and would like to have some contro over the
display order...
You might consider converting it to an array using the ListToArray function,
sorting it with the Sort function, then
James,
Try the ListSort() function. You can sort alpha and numeric list values
in ascending or descending order before you run your output.
Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
I am looping thry the list and would like to have some contro over
Use the ListSort() function:
myList = ListSort(myList, "Text")
- Original Message -
From: Pecora, James [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 27, 2000 8:52 AM
Subject: Ordering a list
Any way to order a list easily???
Say I have a LIST
This is straight off the top of my head, so may need changing a little ;)
Brian
- Original Message -
From: "Pecora, James" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 27, 2000 5:52 PM
Subject: Ordering a list
Any way to order a list easily???
Say I have a LIST and
27, 2000 11:52 AM
To: '[EMAIL PROTECTED]'
Subject: Ordering a list
Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
I am looping thry the list and would like to have some contro over the
display order...
thanks
--
Try the ListSort() function.
-Original Message-
From: Pecora, James [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 27, 2000 11:52 AM
To: '[EMAIL PROTECTED]'
Subject: Ordering a list
Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
I am looping thry
Or try #listsort(yourlist, "text")#
-d
Deanna Schneider
Interactive Media Developer
UWEX Cooperative Extension Electronic Publishing Group
302 Hiram Smith
1545 Observatory Dr.
Madison, WI 53706
(608) 265-7923
Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
Convert the list to an array using ListToArray(), sort the array using
ArraySort(), and then convert back to a list using ArrayToList() (or just
loop through the array).
If at all possible, however, you should
PROTECTED]'
Subject: Ordering a list
Any way to order a list easily???
Say I have a LIST and I want it alphabetized?
I am looping thry the list and would like to have some contro over the
display order...
thanks
(my quote from earlier)
You might consider converting it to an array using the
ListToArray function, sorting it with the Sort function,
then converting it back into a list with ArrayToList.
(Alexander Lamon's quote)
Try the ListSort() function. You can sort alpha and numeric
list values in
This is straight off the top of my head, so may need changing a little ;)
Brian
- Original Message -
From: "Pecora, James" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 27, 2000 5:52 PM
Subject: Ordering a list
Any way to order a list easily???
Say I have a LIST and
Thats interesting, I kinda figured ListSort was new to 4.5 as I couldn't
find any mention of it in "Uncle Ben's Bible"
- Original Message -
From: "Dave Watts" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, March 27, 2000 8:04 PM
Subject:
Although I *believe* there is a ListSort function in 4.5?
Yes, it's in 4.5. At least, it's in 4.5.1 RC 1. It's not mentioned in the
4.5.1 release notes, either as new to 4.5.1 or 4.5.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
14 matches
Mail list logo