SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 07 | September | 2003 ]

<< Previous Message << >> Next Message >>


Date: Sun, 7 Sep 2003 21:03:01 PDT7
From: "Harry Motin" <hmotin@sbcglobal.net >
Reply-To: scoug-programming@scoug.com
To: < "scoug-programming@scoug.com" > scoug-programming@scoug.com > ,
Subject: SCOUG-Programming: Object Rexx SysStemSort() ?

Content Type: text/plain

On Sun, 7 Sep 2003 20:21:18 PDT7, Steven Levine wrote:

>Someone is confused. SysStemSort is part of REXXUTIL and has nothing to
>do with OBJREXX.

Steven,

I'm not sure that the above is true. I can't find SysStemSort anywhere in OS/2 REXX. I've
checked other references that I have and I don't think it's there. It's not part of the REXX
Utilities (I don't think).

The REXX Library has various functions for manipulating array functions. One of them is
ARRAYSORT. It may be what Peter needs

The following is from the REXX Library documentation:

Sorting REXX arrays

It is possible to sort REXX arrays (i. e. compound variables with positive integral
indices) with native REXX facilties, but it
is not easy. First, you have to know exactly how to code a sorting algorithm - and
algorithms that are significantly faster
than the simple "bubble sort" are usually very tricky. Second, it is very inconvenient to
pass arrays to subroutines in
REXX. Third, you must copy the appropriate code into every program that needs to
sort - because it isn't possible to pass
an array to an external procedure at all (unless you use a file or external data queue).

REXXLIB's ArraySort routine takes care of all these problems, and provides many
sorting options. If you think of each
element of the array as a record, then ArraySort can handle multiple fields in each
record. On each field it can sort in
ascending or descending order where the order is either strictly alphanumeric,
case-insensitive alphanumeric, or based on
REXX arithmetic comparisons.

HCM

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 07 | September | 2003 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.