TUG PDS CERT 1.01 (Documentation)

==========================================================================

                  TUG PUBLIC DOMAIN SOFTWARE CERTIFICATION

The Turbo User Group (TUG) is recognized by Borland International as the
official support organization for Turbo languages.  This file has been
verified by the TUG library staff.  We are reasonably certain that the
information contained in this file is public domain material, but
it is also subject to any restrictions applied by its author.

This diskette contains information determined to be in the PUBLIC
DOMAIN, provided as a service of TUG for the use of its members.  The
Turbo User Group will not be liable for any damages, including any lost
profits, lost savings or other incidental or consequential damages arising
out of the use of or inability to use the contents, even if TUG has been
advised of the possibility of such damages, or for any claim by any
other party.

To the best of our knowledge, the information in this file is accurate.

If you discover an error in this file, we would appreciate it if you would
report it to us.  To report bugs, or to request information on membership
in TUG, please contact us at:

             Turbo User Group
             PO Box 1510
             Poulsbo, Washington USA  98370

--------------------------------------------------------------------------
                       F i l e    I n f o r m a t i o n

* DESCRIPTION
Text file for FIELD.PAS.

* ASSOCIATED FILES
FIELD.PAS
FLDDEMO.PAS
FLDTEST.PAS
OLDDEMO.PAS
FIELD.TXT

* CHECKED BY
DRM - 08/08/88

* KEYWORDS
TURBO PASCAL V4.0 DOCUMENTATION

==========================================================================
}
                                    FIELD.TPU
                                    ---------

FIELD.TPU is the Turbo Pascal unit obtained by compiling FIELD.PAS.  Turbo
Pascal units are explained in chapter 4 of the language manual for version 4. 
FIELD.PAS was developed from KEYIN.INC by Michael H. Hughes so many of the
coding ideas in FIELD.PAS are his; however, FIELD.PAS incorporates
significant changes.

The main function in KEYIN.INC was called keyin.  This function located each
field on the screen, allowed data entry to and editing of the field, and on
termination returned the number of the next field to be processed.  The data
entered was stored in a string or an array.  The main function in FIELD.PAS
is called editfield.  Like keyin it locates each field on the screen and 
allows data entry to and editing of the field, but it returns the key code of
the terminating key rather than the number the next field.  As can be seen in
the demonstration programs, this allows construction of more elaborate
screens.  Both vertical and horizontal tabing from field to field may be
programmed for editing but suppressed during initial data entry.  Data can
still be stored in strings, but numbers can now be stored as variables.

OLDDEMO.PAS is the original demonstration program TESTKEY.PAS recoded to use
the new unit.  Certain keying errors could spoil the screen of the old
program.  The new program appears to be bullet proof.

NEWDENO.PAS is a simple chemical engineering program that illustrates how to
use FIELD.TPU to create a screen with a large number of fields that have the
same format.  This screen style is required for many chemical engineering
problems.

FLDTEST.PAS was written to help debug FIELD.PAS.  By playing with this
program you will get a good idea how the unit works.

Hopefully these demonstration programs and the comments in the source code of
the unit will allow interested programmers to use this unit without undue
pain.

                               Frank Wood, Jr.

                               CIS User ID 74375,127

                               July 2, 1988
