rem                     ---diagramh.bat---
rem MS-DOS procedure to diagram an HTML language program.

rem  by Mitchell R Grunes.

rem I assume that the executable is in directory c:\grunes on
rem  your PC.

rem Syntax:
rem     diagramh
rem to be prompted for input parameters.

rem Alternate Syntax:
rem     diagramh filename(s)
rem to append diagram of file(s) into diagram.out

if %1a == a  c:\grunes\diagramh
if %1a == a  goto quit

echo off
  echo ========================-- %1 --========================
  rem Prompt answers: input from %1, output to (for now),
  rem  place numbers in column 67, use IBM PC graphics.

  echo %1          >
  echo >>
  echo 0           >>
  echo 1           >>
  echo 0           >>
  echo 0           >>

  c:\grunes\diagramh <
  type >> diagram.out
  if not %1a == a goto loop
  echo Note--This does not delete diagram.out before appending to it.