Working cards export.
This commit is contained in:
parent
9a9242f286
commit
dea6f2da29
1 changed files with 7 additions and 4 deletions
11
cards.scm
11
cards.scm
|
@ -69,13 +69,16 @@
|
||||||
nick
|
nick
|
||||||
(if aliased? "." "")
|
(if aliased? "." "")
|
||||||
(if aliased? calias ""))))
|
(if aliased? calias ""))))
|
||||||
(print cardname (car cards))
|
(print cardname " " cardid)
|
||||||
(cloop (cdr cards)))))
|
(cloop (cdr cards)))))
|
||||||
(uloop (cdr srecs)))))))
|
(uloop (cdr srecs)))))))
|
||||||
|
|
||||||
|
(define (cards-export/type mb type fname)
|
||||||
|
(parameterize ((current-output-port (open-output-file fname)))
|
||||||
|
(cards-print/type mb type)))
|
||||||
|
|
||||||
(define (cards-export mb cardsfn desfirefn)
|
(define (cards-export mb cardsfn desfirefn)
|
||||||
(cards-print/type mb 'card)
|
(cards-export/type mb 'card cardsfn)
|
||||||
(newline)
|
(cards-export/type mb 'desfire desfirefn))
|
||||||
(cards-print/type mb 'desfire))
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue