TIP: Click on subject to list as thread! ANSI
echo: clipper
to: BRYAN SMITH
from: BEN CAVANAGH
date: 1996-10-25 13:07:00
subject: HOW 2 KNOW IF IT`S A DBF

>> Subj: HOW 2 KNOW IF IT'S A DBF       Conf: (601) F-CLIPPER
>> I wonder why you allow your users to create .DBF files with other
>> extensions ?
   Because when I'm doing software I don't use the .DBF extension and at
   this time I'm doing a utilitie program like DBU who can fine and load
   clipper file with any extension.
>> You might try testing the file by reading in the first few bytes of the 
file
>> with FREAD.  You could check the first byte.  If this is a regular Clipper
>> .DBF file using dBase 3+ format, then bits 0,1,2 (values 1,2,4) should 
total
>> to 3.
   Yes somebody showed me that example and it works fine so I use it.
   Thank you for the time you tooked to answer to me.
   Ben.
--- FidoPCB v1.5 beta-'e'
---------------
* Origin: Innovatron, St-Boniface, QC (819)535-9072 (1:167/420)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.