RSICC Home Page

RSIC COMPUTER CODE PSR-081

1. NAME AND TITLE

FREEFORM: Free-Form Input Reading Routines.

2. CONTRIBUTOR

Oak Ridge National Laboratory, Oak Ridge, Tennessee.

3. CODING LANGUAGE AND COMPUTER

Fortran IV and Assembler Language; IBM 360/370.

4. NATURE OF PROBLEM SOLVED

FREEFORM allows programmers to read input information without using FORMAT statements. The input package consists of a set of three function subprograms which read real, integer, and alphameric data, respectively.

5. METHOD OF SOLUTION

FREEFORM can be used to simply read cards containing numeric or alphameric information. With the use of additional features and several other function subprograms, complicated input from any type of device may be read and analyzed.

6. RESTRICTIONS OR LIMITATIONS

Each item in the input data should be separated from its neighbors by blanks. The input items may be continued on as many cards as necessary although a single item cannot be split between two cards.

If the IREAD function picks up a number with a fractional part, an error condition results and the rounded number is returned.

7. TYPICAL RUNNING TIME

No study has been made by RSIC of typical running times for FREEFORM.

8. COMPUTER HARDWARE REQUIREMENTS

FREEFORM is operable on the IBM 360/370 computers.

9. COMPUTER SOFTWARE REQUIREMENTS

A Fortran IV compiler is required.

10. REFERENCE

R. C. Durfee, "Fortran Free-Form Input," ORNL-Cf-70-1-45 (January 1970).

11. CONTENTS OF CODE PACKAGE

Included are the referenced document and one (1.2MB) DOS diskette which contains the source code input, plus utility routines.

12. DATE OF ABSTRACT

January 1975; revised February 1984.

KEYWORDS: DATA PROCESSING, UTILITY; FREE FIELD FORMAT