home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
wpsorexx.zip
/
wpObjectCreate.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
2002-07-10
|
2KB
|
50 lines
/* REXX ********************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
******************************************************************************
*
* $Archive: G:/Archive/ORexx/WorkPlace/wpObjectCreate.CMD,v $
* $Workfile: wpObjectCreate.CMD $
* $Author: Martin_Krischik $
* $Revision: 1.0 $
* $Name:$
* $Date: 24 Aug 1997 13:34:26 $
* $Log: G:/Archive/ORexx/WorkPlace/wpObjectCreate.CMD,v $
*
* Rev 1.0 24 Aug 1997 13:34:26 Martin_Krischik
* Workplace Shell support.
*
****************************************************************************
wpObjectCreate:
PARSE ARG classname'; ' objectname'; ' place'; ' Setup
SAY 'Klassenname: ' classname
SAY 'Objektname : ' objectname
SAY 'place : ' place
SAY 'Setup : ' Setup
SAY 'Flag : ' 'U'
Result = SYSCreateObject(classename, objectname, place, Setup, 'U')
IF Result = 1 THEN
DO
SAY 'object' objectname 'successfull created or updated.'
END
ELSE
DO
SAY 'Object' Objectname ' - not created.'
END
RETURN