
	SORTER
	------

	THE FORTRAN PROGRAM SORTER SERVES AS A LINK BETWEEN THE RELATED
	PROGRAMS SURVEY AND CROSS.  IT PRODUCES A PRELIMINARY TABULATION
	OF THE DATA READ INTO A FILE BY THE PROGRAM SURVEY AND FACILI-
	TATES THE ANALYSIS OF THE DATA BY THE PROGRAM CROSS.  OUTPUT CAN
	BE EITHER TO THE USER TERMINAL OR TO THE LINE PRINTER.


      PROGRAM SORTER

      DESCRIPTION
	THIS PROGRAM TABULATES THE CODED RESPONSES TO EACH QUESTION OF
	A QUESTIONNAIRE BY FREQUENCIES OR PERCENTAGES OR BOTH.

      SOURCE
	NORMAN W. JOHNSON, DEPARTMENT OF MATHEMATICS, WHEATON COLLEGE,
	NORTON, MASS.

      INSTRUCTIONS
	THE CODED RESPONSES TO THE QUESTIONNAIRE SHOULD BE READ FROM
	CARDS AND WRITTEN INTO AN ASCII DATA FILE BY THE PROGRAM SURVEY.

	THE PROGRAM WILL REQUEST THREE PIECES OF INFORMATION TO BE
	ENTERED FROM THE TERMINAL.  THE FIRST IS THE NAME OF THE DATA
	FILE.  THE SECOND IS THE RANGE OF QUESTIONS TO BE TABULATED.
	THE USER SHOULD ENTER EITHER THE WORD "ALL", TWO NUMBERS JOINED
	BY A HYPHEN TO INDICATE A BLOCK OF CONSECUTIVE QUESTIONS, OR
	ONE NUMBER FOR A SINGLE QUESTION.  THE LAST ITEM REQUIRED CON-
	SISTS OF ONE OR TWO OUTPUT OPTION NUMBERS SPECIFYING THE TABLES
	DESIRED, AS FOLLOWS:

		0--DESCRIPTION ONLY
		1--FREQUENCIES
		2--PERCENTAGES

	CROSS-TABULATIONS MAY BE DONE AND VARIOUS STATISTICAL MEASURES
	COMPUTED BY RUNNING THE PROGRAM CROSS.

	THIS PROGRAM ASSUMES THAT INPUT IS FROM THE DISK AND OUTPUT IS
	TO THE USER TERMINAL.  IF A DIFFERENT OUTPUT DEVICE, SUCH AS THE
	LINE PRINTER, IS TO BE USED, IT SHOULD BE ASSIGNED LOGICAL UNIT
	5 PRIOR TO RUNTIME.

