home *** CD-ROM | disk | FTP | other *** search
- /* rexx program to make an object on the desktop */
-
- /* check to see if Sys REXX functions
- available. If not, make it available. */
-
- Parse Arg auddest
-
- result=RxFuncQuery(SysCreateObject)
- if result=1 then
- do
- call RxFuncAdd 'SysCreateObject','RexxUtil','SysCreateObject'
- end
-
- result=RxFuncQuery(SysMkDir)
- if result=1 then
- do
- call RxFuncAdd 'SysMkDir','RexxUtil','SysMkDir'
- end
-
- result=RxFuncQuery(SysCls)
- if result=1 then
- do
- call RxFuncAdd 'SysCls','RexxUtil','SysCls'
- end
-
-
- say "Got arg " auddest
- rc = SysMkDir(auddest)
-
- say "rc is " rc
-
- Return rc
-