home *** CD-ROM | disk | FTP | other *** search
- 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