home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / wp_dtp / inspired.lha / Inspire!Demo / Compile.rexx next >
OS/2 REXX Batch file  |  1993-01-29  |  426b  |  26 lines

  1. /*
  2. **  Compile.rexx 1.0
  3. **      By Josh Van Abrahams.
  4. **
  5. **  Starts SAS/C Compiler from within Inspire!
  6. */
  7.  
  8. Options RESULTS
  9.  
  10. QUERY PATHPART
  11. path = RESULT
  12.  
  13. QUERY FILEPART
  14. file = RESULT
  15.  
  16. SET STATUSBAR "Compiling..."
  17.  
  18. Address 'COMMAND' 'path sc:c add' || '0A'X || 'cd ' || path || '0A'X || 'sc >ram:errors ' || file
  19.  
  20. SET STATUSBAR "Viewing Errors..."
  21.  
  22. Address 'COMMAND' 'run sys:utilities/more ram:errors'
  23.  
  24. SET DEFAULTSTATUSBAR
  25.  
  26.