dos_compilers/Borland Turbo Pascal v6/TVDEMOS/GENFORMS.BAT
2024-07-02 07:11:05 -07:00

27 lines
737 B
Batchfile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ECHO OFF
REM ===============================================================
REM This batch file generates two forms data files, PHONENUM.TVF
REM and PARTS.TVF. These can be loaded and edited using TVFORMS.PAS
REM ===============================================================
ECHO Generating data files for TVFORMS demo program...
tpc /m /q /dPHONENUM genform
IF ERRORLEVEL 1 GOTO CompilerError
genform
IF ERRORLEVEL 1 GOTO RuntimeError
tpc /m /q /dPARTS genform
IF ERRORLEVEL 1 GOTO CompilerError
genform
IF ERRORLEVEL 1 GOTO RuntimeError
GOTO Success
:CompilerError
ECHO Error encountered trying to make GENFORM.PAS
GOTO Success
:RuntimeError
ECHO Error trying to run GENFORM.EXE
GOTO Success
:Success