|
*mumble mumble* yes of course you are right. again. *mumble mumble* ;) --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 10/18/05 14:24:19 To: RPG programming on the AS400 / iSeries Subject: Re: Sorting an array w/multiple fields Hi Booth, > Isn't the field sorted correctly, with the negative numbers first, in > ascending order? [SNIP] The OP posted the following order "-2, -4, -7, 0, 1, 4, 6" If this is ascending order, shouldn't -7 come first? If it's descending order, shouldnt 6 come first? In my later post in this thread (The one where I posted a sample program) I demonstrated that on my system, -7 does (in fact) come first.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.