home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s199 / 1.img / COMMANDS / ABEL.BAT next >
Encoding:
DOS Batch File  |  1992-08-20  |  1.5 KB  |  58 lines

  1. PARSE  -i%1.abl -o%1.tm1 -l%1.lst -h %2 %3 %4 %5 %6 %7 %8 %9
  2. if errorlevel 1 goto errparse
  3. TRANSFOR -i%1.tm1 -o%1.tm2
  4. if errorlevel 1 goto errtrans
  5. if exist %1.tm1 del %1.tm1
  6. REDUCE -i%1.tm2 -o%1.tm3 %2 %3 %4 %5 %6 %7 %8 %9
  7. if errorlevel 1 goto erreduce
  8. if exist %1.tm2 del %1.tm2
  9. FUSEMAP -i%1.tm3 -o%1.out -j%2 %3 %4 %5 %6 %7 %8 %9
  10. if errorlevel 1 goto errfuse
  11. if exist %1.tm3 del %1.tm3
  12. SIMULATE -i%1.out -o%1.sim %2 %3 %4 %5 %6 %7 %8 %9
  13. if errorlevel 1 goto errsim
  14. DOCUMENT -i%1.out -o%1.doc -g -q2 %2 %3 %4 %5 %6 %7 %8 %9
  15. if errorlevel 1 goto errdoc
  16. goto exit
  17. :errparse
  18. echo Error(s) in PARSE
  19. goto exit
  20. :errtrans
  21. DOCUMENT -i%1.tm1 -o%1.doc  -g -q0 %2 %3 %4 %5 %6 %7 %8 %9
  22. echo Error(s) in TRANSFOR
  23. goto exit
  24. :erreduce
  25. DOCUMENT -i%1.tm2 -o%1.doc -g -q1 %2 %3 %4 %5 %6 %7 %8 %9
  26. echo Error(s) in REDUCE
  27. goto exit
  28. :errfuse
  29. DOCUMENT -i%1.tm3 -o%1.doc -g -v -q2 %2 %3 %4 %5 %6 %7 %8 %9
  30. echo Error(s) in FUSEMAP
  31. goto exit
  32. :errsim
  33. DOCUMENT -i%1.out -o%1.doc -f -g -v -q2 %2 %3 %4 %5 %6 %7 %8 %9
  34. echo Error(s) in SIMULATE
  35. copy *.sim \abel
  36. goto exit
  37. :errdoc
  38. echo Error(s) in DOCUMENT
  39. :exit
  40. rem conjed
  41. if exist *.jed copy *.jed \abel
  42. if exist *.lst copy *.lst \abel
  43. if exist *.doc copy *.doc \abel
  44. if exist *.sim copy *.sim \abel
  45. rem delete abel work files
  46. if exist *.tm? del *.tm?
  47. if exist *.jed del *.jed
  48. if exist *.sim del *.sim
  49. if exist *.lst del *.lst
  50. if exist *.doc del *.doc
  51. if exist *.bak del *.bak
  52. if exist *.out del *.out
  53. if exist *.p8? del *.p8?
  54. del *.abl
  55. if exist temp del temp
  56. if exist *.vec del *.vec
  57. cd \abel
  58.