REXX Tips & Tricks, Version 2.80


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


Call another REXX program (OS/2 v2.1)





 
/* code sequence to call a program from within a REXX program if      */
/* the first part of the path of the program is stored in a           */
/* variable (only necessary if you are using OS/2 2.1)                */

                                /* create an environment variable     */
  dummy=value( "drive", "C:", "OS2ENVIRONMENT" )

  "%drive%\os2\attrib *.*"
                                /* delete the environment variable    */
  dummy=value( "drive", "", "OS2ENVIRONMENT" )

  

Inf-HTML End Run - Successful