Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Kalimehtar/binary-class-dbf
Interface for reading/writing DBF (DBase, Foxbase, ...) files
https://github.com/Kalimehtar/binary-class-dbf
Last synced: about 2 months ago
JSON representation
Interface for reading/writing DBF (DBase, Foxbase, ...) files
- Host: GitHub
- URL: https://github.com/Kalimehtar/binary-class-dbf
- Owner: Kalimehtar
- License: mit
- Created: 2014-06-14T10:04:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-07T02:05:23.000Z (about 10 years ago)
- Last Synced: 2024-10-16T03:02:15.445Z (3 months ago)
- Language: Racket
- Size: 230 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-racket - binary-class-dbf - Interface to *.dbf files (dBase, Foxpro, etc). (Database Drivers)
README
binary-class-dbf
================Interface for reading/writing DBF (DBase, Foxbase, ...) files
To test run
```racket
(require binary-class/dbf binary-class)
(define stream (open-input-file "test.dbf")) ; put your DBF file instead of test.dbf
(define db (read-value dbf-header% stream))
(send db read-record stream) ; returns first record
(send db read-record stream) ; returns second
```and so on. To inspect db object you may use get-field. List of field see inside sources.