Scheme Journal File
List of: Discussion Topic
Subjects: Scheme Interface
Contents: Application Development Manual

A Scheme journal file (.jrl) records Scheme commands sent to the Scheme interpreter, and the printed output those commands generated. Scheme journal files have a .jrl file extension.

Recording can be turned on or off, and can be paused then resumed. Output is sent to the file specified by the journal:on or journal:append extensions:

(journal:on "new_jrl")

For example, the following Scheme commands issued to the Scheme AIDE demonstration application (prompts and application responses are shown):

acis> (journal:on "myjournal")
()
acis> (solid:block (position 0 0 0) (position 10 10 10))
#[entity 1 1]
acis> (define b1 (solid:block (position 0 0 0)


(position 20 20 20)))
b1
acis> (journal:off)
()
(define b2 (solid:block (position 0 0 0) (position 30 30 30)))
b2

will generate this journal file:

;;
;; (journal:on "myjournal")
;; ()
(solid:block (position 0 0 0) (position 10 10 10))
;; #[entity 1 1]
(define b1 (solid:block (position 0 0 0) (position 20 20 20)))
;; b1
;; (journal:off)
PDF/APPDEV/10FILE.PDF
HTM/DATA/ACIS/APPDEV/10FILE/0002.HTM