home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 25 / AACD 25.iso / AACD / Sound / MSE / CompileModules.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1996-10-05  |  574 b   |  30 lines

  1. /*
  2.  
  3.     CompileModules.rexx
  4.  
  5.     $VER: 05 Oct 1996
  6.  
  7. */
  8.  
  9. options results
  10. address command
  11.  
  12. Path.def = "definitions/"
  13. Path.module = "modules/"
  14. ErrorLog = "RAM:MSE-Compiler.errors"
  15.  
  16. if exists(ErrorLog) then 'C:Delete' ErrorLog" QUIET"
  17. 'C:List' Path.def 'PAT "#?.def" ALL FILES LFORMAT "%s%s" TO T:Compiles'
  18.  
  19. call open('Compiles', "T:Compiles")
  20. do until eof('Compiles')
  21.     cFile = readln('Compiles'); if cFile = "" then leave
  22.     cFile = delstr(cFile,1,length(Path.def))
  23.  
  24.     'MSE-Compiler' "Definition="cFile" ErrorLog="ErrorLog
  25. end
  26. call close('Compiles')
  27.  
  28. 'C:Delete' "T:Compiles QUIET"
  29. exit
  30.