[net.lang.pascal] Turbo Pascal and DBaseII

smw@cadtec.UUCP (Steve Wong) (05/22/85)

Has anyone written a program using Turbo Pascal to read DBase II files?
If you have done so, would you send me a sample program so that I don't
need to re-invent the wheel. I will appreciate it.

reintom@rocky2.UUCP (Tom Reingold) (05/26/85)

I have used dBase III to create plain files and read those
files with Turbo Pascal.  I think the way to do it with dBase 
II is the same.  In dBase, give the command:
	COPY TO <filename> SDF
		or
	COPY TO <filename> DELIMITED WITH BLANK

and you will have a regular ASCII file to read from.

I hope you have already read files using Pascal.  If not,
basically you should look up the Reset and Read and Readln
procedures in the manual. 

If you have any questions, feel free to ask.

Tom Reingold
36 Ellwood St
New York, NY 10040
(212) 304-2504 (home)
(212) 570-7700 (office)