PROGRAM NAME:  DOCUMENT - Aids programmers in preparing program documentation

AUTHOR:  William C. Zurney

DATE WRITTEN:  24 August 1976

SOURCE LANGUAGE:  C

LOCATION OF SOURCE:  /usr/bill/proj.doc/document.c

LOCATION OF BINARY:  /usr/bill/proj.doc/document

SYNTAX:
	document filename

	filename -- output file where document will reside

DESCRIPTION:
	Document is a program which will aid the programmer in preparing
program documentation according to a standard format.  The programmer
is prompted for information, and this information is written, along with
standard headings, onto the file 'filename'.  When asked to enter a
section, the text editor NED is used, thus giving greater freedom in
preparing the documentation.

MESSAGES & DIAGNOSTICS:

	E0001 NO DOCUMENT FILENAME SPECIFIED    (DOCUMENT)

	E0002 DOCUMENT FILE 'filename' ALREADY EXISTS    (DOCUMENT)

	E0003 UNABLE TO OPEN DOCUMENT FILE 'filename'    (DOCUMENT)

	E0001 ERROR WRITING ON DOCUMENT FILE    (DOCWRITE)

SEE ALSO:
	NED(I)

FILES USED:
	/tmp/d# -- work file

IMPLEMENTATION DESCRIPTION:
	The standard documentation format is
		 1.  Program name
		 2.  Author's name
		 3.  Date program was written
		 4.  Source language that program was written in
		 5.  Location of the source copy of the program
		 6.  Location of the binary copy of the program
		 7.  Syntax section
		 8.  Description section
		 9.  Messages & diagnostics section
		10.  See also section
		11.  Files used section
		12.  Known bugs section
		13.  Implementation section
		14.  Revision history section
