home *** CD-ROM | disk | FTP | other *** search
/ Bart's Chess Hits / Chess.iso / Chess / PROGRAMS / TBDEMO / DEMO.BAT next >
Encoding:
DOS Batch File  |  1994-10-12  |  2.0 KB  |  110 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo.
  5. echo.
  6. echo.
  7. echo.    
  8. echo   TascBase 1.1 Demo (386 or better)  
  9. echo.
  10. echo      1. ENGLISH      
  11. echo      2. NEDERLANDS       
  12. echo      3. DEUTSCH      
  13. echo.
  14. driver\askwait "  Select, Kies, Selektiere [1,2,3] " 123 0
  15.  
  16. if errorlevel = 3 goto LABgerman
  17. if errorlevel = 2 goto LABdutch
  18. if errorlevel = 1 goto LABenglish
  19.  
  20. :LABenglish
  21. set lang=ENGLISH
  22. cls
  23. echo.
  24. echo.
  25. echo.
  26. echo.    
  27. echo.
  28. echo      1. Animation 1: Searching a game and replaying it.
  29. echo      2. Animation 2: Searching a position in the database.
  30. echo      3. Animation 3: The chessprogram analyses a game.
  31. echo      4. TascBase Interactive Demo
  32. echo      9. Quit
  33. echo.
  34.  
  35. driver\askwait   "  Select [1,2,3,4,9] " 12349 0
  36. goto choose
  37.  
  38. :LABdutch
  39. set lang=DUTCH
  40. cls
  41. echo.    
  42. echo.
  43. echo.
  44. echo.
  45. echo.
  46. echo      1. Animatie 1: Een partij zoeken en naspelen.
  47. echo      2. Animatie 2: Een stelling in de database opzoeken.
  48. echo      3. Animatie 3: Het schaakprogramma analyseert een partij.
  49. echo      4  TascBase Interactieve Demo
  50. echo      9. Einde
  51. echo.
  52. driver\askwait   "  Kies [1,2,3,4,9] " 12349 0
  53. goto choose
  54.  
  55. :LABgerman
  56. set lang=GERMAN
  57.  
  58. cls
  59. echo.    
  60. echo.
  61. echo.
  62. echo.
  63. echo.
  64. echo      1. Animation 1: Eine Partie suchen und nachspielen.
  65. echo      2. Animation 2: Eine Stellung in der Datenbank suchen.
  66. echo      3. Animation 3: Das Schachprogramm analysiert eine Partie.
  67. echo      4. TascBase Interaktive Demo
  68. echo      9. Ende
  69. echo.
  70. driver\askwait   "  Selektiere [1,2,3,4,9] " 12349 0
  71. goto choose
  72.  
  73. :choose
  74. if errorlevel = 5 goto End
  75. if errorlevel = 4 goto demo0
  76. if errorlevel = 3 goto demo3
  77. if errorlevel = 2 goto demo2
  78. if errorlevel = 1 goto demo1
  79.  
  80. :demo3
  81. set demo=-pDRIVER\demo3
  82. goto Run
  83.  
  84. :demo2
  85. set demo=-pDRIVER\demo2
  86. goto Run
  87.  
  88. :demo1
  89. set demo=-pDRIVER\demo1
  90. goto Run
  91.  
  92. :demo0
  93. set demo=""
  94. goto Run
  95.  
  96. :Run
  97. echo.
  98. echo.
  99. tbdemo %demo% -l%lang%
  100.  
  101. if %lang%==ENGLISH goto LABenglish
  102. if %lang%==DUTCH   goto LABdutch
  103. if %lang%==GERMAN  goto LABgerman
  104.  
  105. :End
  106. set lang=
  107. set demo=
  108.  
  109. cls
  110.