home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / wpsorexx.zip / wpListClass.CMD < prev    next >
OS/2 REXX Batch file  |  2002-07-10  |  2KB  |  41 lines

  1. /* REXX ********************************************************************
  2.  * List currently registered object classes.  These examples can be found in
  3.  *the OS/2 Procedures Language/2 REXX INF file in the Information folder
  4.  ******************************************************************************
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18.  ****************************************************************************
  19.  *
  20.  * $Archive:   G:/Archive/ORexx/WorkPlace/wpListClass.CMD,v  $
  21.  * $Workfile:   wpListClass.CMD  $
  22.  * $Author:   Martin_Krischik  $
  23.  * $Revision:   1.0  $
  24.  * $Name:$
  25.  * $Date:   24 Aug 1997 13:34:26  $
  26.  * $Log:   G:/Archive/ORexx/WorkPlace/wpListClass.CMD,v  $
  27.  *
  28.  *     Rev 1.0   24 Aug 1997 13:34:26   Martin_Krischik
  29.  *  Workplace Shell support.
  30.  *
  31.  ****************************************************************************
  32.  
  33. CALL RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  34. CALL SysLoadFuncs
  35.  
  36. CALL SysQueryClassList "list."
  37. DO i = 1 TO list.0
  38.    SAY 'Class' i 'is' list.i
  39. end
  40.  
  41.