home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / database / dbflis / read.me < prev   
Encoding:
Text File  |  1988-05-20  |  3.4 KB  |  91 lines

  1. DBF.Com -- dBASE III / FoxBASE+  Database structure lister
  2.  
  3. Copyright (c) 1988, by Matrix Software Systems
  4.                        All rights reserved
  5.  
  6. This program will list the structure of any dBASE III /FoxBASE +
  7. database file in a format similar to "List Structure." It is similar to
  8. another PD program (ListStru.COM) except that this version handles the
  9. full set of MS-DOS wildcards (both of them), comes complete with source
  10. code (for use with Turbo C), and is about one-half the size. 
  11.  
  12. This program is provided on an "as-is" basis.  No warranty, expressed or
  13. implied, covers this program.  Matrix Software Systems disclaims all
  14. conditions and warranties, whether express or implied with regard to
  15. this program, including all implied conditions or warranties of
  16. merchantibility and fitness for a particular purpose. 
  17.  
  18. This program is NOT public domain.  It may be freely distributed as long
  19. as the following conditions are met:
  20.  
  21.   1.  Any and all copies must include the above copyright notice.
  22.   2.  The software must be distributed in its original ARC format
  23.       which contains the files DBF.COM, DBF.C, and READ.ME.
  24.   3.  No fee may be charged for any copy, aside from a possible small
  25.       duplication and handling fee.  (I sincerely doubt you could sell
  26.       this if you wanted to...)
  27.  
  28.  
  29. To compile the source code, you will need Turbo C (V1.0).
  30.  
  31.         tcc -Ic:\tc\include -Lc:\tc\lib -K -O -Z -d -f- -mt dbf.c 
  32.         exe2bin dbf.exe dbf.com
  33.  
  34. For those of you without Turbo C, the command line options given to tcc
  35. above breakdown as follows:
  36.  
  37.         -I      Directory for Include files
  38.         -L      Directory for Library files
  39.         -K      Default char is unsigned (should make no difference)
  40.         -O      Optimize jumps
  41.         -Z      Optimize register usage
  42.         -d      Merge duplicate strings (should make no difference)
  43.         -f-     No floating point
  44.         -mt     'Tiny' model (one 64k code/data segment)
  45.  
  46.  
  47. If you make any significant enhancements to this program, I would
  48. appreciate a copy (always looking for new techniques).  If you have any
  49. comments, suggestions and/or complaints, I can be reached online via CIS
  50. or BIX. 
  51.  
  52.         Dave Love
  53.         CIS: 75126,2223
  54.         BIX: dlove
  55.  
  56.  
  57. Example
  58.  
  59. Sample input:  DBF i*
  60.  
  61. Sample output:
  62. Structure for database : IMPORTS.DBF
  63. Number of data records :        471
  64. Date of last update    : 05-16-1988
  65. Field  Field name  Type       Width    Dec
  66. -----  ----------  ----       -----    ---
  67.     1  FOREIGN     Character      7
  68.     2  PO          Character      7
  69.     3  DOCREC      Character      7
  70.     4  DATE_RECD   Date           8
  71.     5  MMONTH      Date           8
  72.     6  DEPARTMENT  Character      3
  73.     7  AREA        Character      3
  74.     8  CARTONS     Numeric        5      0
  75.     9  PIECES      Numeric        5      0
  76.    10  DOLLARS     Numeric       12      2
  77.    11  PULL_LIST   Date           8
  78.    12  COMMENT     Character     25
  79.    13  ORIG_MM     Date           8
  80.    14  ORIG_RECD   Date           8
  81.    15  DIVISION    Numeric        2      0
  82.    16  GMM         Numeric        1      0
  83.    17  LOC_LIST    Date           8
  84.    18  PULL_ID     Numeric        6      0
  85.    19  LOC_ID      Numeric        6      0
  86.    20  PROBLEM     Character      3
  87.    21  PROBRECD    Date           8
  88.    22  PROBCLRD    Date           8
  89. ** Total **                     157
  90.  
  91.