Accessing the data
Calls to refdb directly (use in shell scripts):
> refdb lookup condo-ctrl summer temp target 32
Use the ini-file egg
csi> (use ini-file) csi> (property-separator-patt " ") csi> (define cfgdat (read-ini "condo-ctrl/summer.dat" )) csi> (cdr (assoc 'temp (cdr (assoc 'target cfgdat)))) 28
Use the refdb unit (not yet documented or cleaned up :( )
refdb#common:sparse-list-generate-index procedure refdb#conf-get-record procedure refdb#create-new-db procedure refdb#dat->cells procedure refdb#dat-lookup procedure refdb#edit-refdb procedure refdb#extract-refdb procedure refdb#file->sxml procedure refdb#find-section procedure ;; example: (find-section '((a (b . c)(d . e))) 'a) => ((b . c) (d . e)) refdb#get-rowcol-names procedure refdb#get-value-type procedure refdb#hash-table-reverse-lookup procedure refdb#import-gnumeric-file procedure refdb#list-sections procedure ;; example: (list-sections '((a (b . c)(d . e)))) => (a) refdb#lookup procedure refdb#main procedure refdb#make-sheet-meta-if-needed procedure refdb#megatest->refdb procedure refdb#process-action procedure refdb#read-dat procedure refdb#read-gnumeric-file procedure refdb#refdb->sxml procedure refdb#refdb-export procedure refdb#refdb:read-gnumeric-xml procedure refdb#remove-section procedure ;; example: (remove-section '((a (b . c))) 'a) => '() refdb#replace-sheet-name-index procedure refdb#sheet->refdb procedure refdb#string->safe-filename procedure refdb#sxml->file procedure refdb#help variable refdb#refdb-version variable