home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l044 / 2.ddi / TVDEMOS.ZIP / GENFORMS.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-10-23  |  737 b   |  27 lines

  1. ECHO OFF
  2. REM ===============================================================
  3. REM This batch file generates two forms data files, PHONENUM.TVF
  4. REM and PARTS.TVF. These can be loaded and edited using TVFORMS.PAS
  5. REM ===============================================================
  6. ECHO Generating data files for TVFORMS demo program...
  7. tpc /m /q /dPHONENUM genform
  8. IF ERRORLEVEL 1 GOTO CompilerError
  9. genform
  10. IF ERRORLEVEL 1 GOTO RuntimeError
  11. tpc /m /q /dPARTS genform
  12. IF ERRORLEVEL 1 GOTO CompilerError
  13. genform
  14. IF ERRORLEVEL 1 GOTO RuntimeError
  15.  
  16. GOTO Success
  17.  
  18. :CompilerError
  19. ECHO Error encountered trying to make GENFORM.PAS
  20. GOTO Success
  21.  
  22. :RuntimeError
  23. ECHO Error trying to run GENFORM.EXE
  24. GOTO Success
  25.  
  26. :Success
  27.