home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 December / SOFM_Dec1995.bin / pc / os2 / vpascal / source / tv / tv4vp.cmd < prev    next >
OS/2 REXX Batch file  |  1995-10-31  |  1KB  |  36 lines

  1. @ECHO OFF
  2. REM ****************************************************
  3. REM * Makes 32-bit Turbo Vision 2.0 for Virtual Pascal *
  4. REM ****************************************************
  5.  
  6. IF "%1" == "/?" GOTO HELP
  7. IF "%1" == "-?" GOTO HELP
  8. IF "%1" == "" GOTO HELP
  9.  
  10. IF EXIST "TV4VP.PAT" GOTO RUN
  11. ECHO **Error** Change to the \VP\SOURCE\TV directory and run TV4VP again.
  12. GOTO EXIT
  13.  
  14. :RUN
  15. \VP\BIN\VPPATCH TV4VP.PAT %1 .
  16. GOTO EXIT
  17.  
  18. :HELP
  19. ECHO Turbo Vision Patch for Virtual Pascal.
  20. ECHO This patch can be applied ONLY to updated Turbo Vision 2.0 source
  21. ECHO code from Borland Pascal 7.01. If you have only original sources
  22. ECHO supplied with Borland Pascal 7.0 you should make TV700701 patch
  23. ECHO before running this one. Type TV700701 for details.
  24. ECHO Syntax:
  25. ECHO   TV4VP SourceDirectory
  26. ECHO where
  27. ECHO   SourceDirectory is a directory with Turbo Vision source files.
  28. ECHO NOTES:
  29. ECHO 1) All Turbo Vision sources should be located in one directory.
  30. ECHO    Copy OBJECTS.PAS and VALIDATE.PAS from ...\COMMON to ...\TV
  31. ECHO    directory.
  32. ECHO 2) You may delete *.PAT and *.CMD files from this directory after
  33. ECHO    successful completion.
  34.  
  35. :EXIT
  36.