20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
(declare (unit env))
(declare (uses margsmod))
(import margsmod)
(declare (uses commonmod))
(import commonmod)
(use sql-de-lite) ;; srfi-1 posix regex regex-case srfi-69 srfi-18 call-with-environment-variables)
(define (env:open-db fname)
(let* ((db-exists (common:file-exists? fname))
(db (open-database fname)))
(if (not db-exists)
|
>
>
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
(declare (unit env))
(declare (uses margsmod))
(import margsmod)
(declare (uses commonmod))
(declare (uses debugprint))
(import commonmod)
(import debugprint)
(use sql-de-lite) ;; srfi-1 posix regex regex-case srfi-69 srfi-18 call-with-environment-variables)
(define (env:open-db fname)
(let* ((db-exists (common:file-exists? fname))
(db (open-database fname)))
(if (not db-exists)
|