home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ledar34.zip / EasyRexxV32.lha / EasyRexx / AREXX / Sort.rexx < prev    next >
OS/2 REXX Batch file  |  1995-10-30  |  303b  |  16 lines

  1. /*
  2.  *    File:                    Sort.rexx
  3.  *    Description:    A small script to show the usage of REQUEST and SORT.
  4.  *
  5.  *    (C) 1995, Ketil Hunn
  6.  *
  7.  */
  8.  
  9. OPTIONS RESULTS
  10.  
  11. REQUEST '"Sort message" "Sort commands or arguments?" "Commands|Arguments|Cancel"'
  12. IF RESULT==1 THEN
  13.     SORT COMMANDS
  14. ELSE IF RESULT==2 THEN
  15.     SORT ARGUMENTS
  16.