YYMMDD STRUC ;Date in YYMMDD format Year DB 80 ;Year as a single byte Month DB 01 ;Month as a single byte Day DB 01 ;Day as a single byte YYMMDD ENDS DBField STRUC ;Field Descriptor (part of DBF File Header) Name DS 11 ;Field name in ASCIIZ. Type DS 1 ;Field type. (Char, Number, Logical, Date or Memo) Address DS 4 ;Field data address. (Points into record buffer) Length DS 1 ;Field length. Decimal DS 1 ;Field decimal count (Numbers only) Reserved DS 14 ;Reserved bytes. DBField ENDS DBHeader STRUC ;DBF File Header Version DB 03h ;dBase III file WITHOUT memo fields (83h with) LastUpDate YYMMDD ;Date when the last change was made to the file. NoRecs DS 4 ;Number of records currently in the datafile. HeadLen DS 2 ;Length of the Header including Field Descriptors. RecLen DS 2 ;Length of each record. Reserved DS 20 ;Reserved bytes (version 1.00) FieldArray DBField NoFields DUP ;Array of Field Descriptors EOHeader DB 0Dh ;Indicates the end of the header DBHeader ENDS
|file: /Techref/language/dbase/dbfs.htm, 1KB, , updated: 1999/2/20 11:28, local time: 2017/10/20 14:42,
|©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/language/dbase/dbfs.htm"> language dbase dbfs</A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171020 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!