![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Sort a DBE list Topic Summary: How To... Created On: 20-May-2008 19:42 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I need to sort this list can someone let me know how.
|
|
![]() |
|
![]() |
|
You could do three for loops like this:
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com Edited: 20-May-2008 at 21:49 by Scott Boisvert |
|
![]() |
|
![]() |
|
Perfect. Can you explain me the logic of the DXL. I'm practically new and I'm creating programs with chunks of programs.
|
|
![]() |
|
![]() |
|
Perfect. Can you explain me the logic of the DXL. I'm practically new and I'm creating programs with chunks of programs. Added comments to the code in my previous post. - Basically you need to count the number of users. - Create a string array equal in size to the number of users. - Add a user to each element of the string array. - Sort the array using the sort command. - Then loop through the arrray loading the user name into the list DBE. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Here's a bit simpler way. Skip lists created using the createString method automatically sort string elements.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 21-May-2008 at 13:15 by David Pechacek |
|
![]() |
|
![]() |
|
Heh....
Nice David, I completely forgot skip lists automatically sort. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Sort a DBE list
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.