Action:
|
Checks all history streams for validity.
|
|
Filename:
|
kern/kern_scm/hist_scm.cxx
|
|
APIs:
|
api_check_histories
|
|
Syntax:
|
(history:validate-streams)
|
|
Arg Types:
|
None
|
|
Returns:
|
boolean
|
|
Description:
|
Checks all history streams for mixing and bad entity ids. Returns #t if all are OK, or #f otherwise (also reports error to debug_file_ptr).
|
|
Example:
|
; history:validate-streams
|
|
;; make a stream
|
|
(define block (solid:block 0 0 0 10 10 10))
|
|
;; block
|
|
(roll)
|
|
;; -1
|
|
(define sphere (solid:sphere 0 0 0 10))
|
|
;; sphere
|
|
; verify that it (and all other streams) are valid
|
|
(history:validate-streams)
|
|
; 1 history streams checked.
|
|
;; #t
|