home *** CD-ROM | disk | FTP | other *** search
- ; book p.232
-
- (setf p-label (send text-item-proto :new "p"))
- (setf n-label (send text-item-proto :new "n"))
- (setf p-value (send text-item-proto :new "" :text-length 10))
- (setf n-value (send text-item-proto :new "" :text-length 10))
- (setf p-scroll (send interval-scroll-item-proto :new
- '(0 1)
- :text-item p-value
- :action
- #'(lambda (x) (format t "p = ~g~%" x))))
- (setf n-scroll (send interval-scroll-item-proto :new
- (iseq 1 50)
- :text-item n-value
- :action
- #'(lambda (x) (format t "n = ~g~%" x))))
- (send dialog-proto :new (list (list p-label p-value)
- p-scroll
- (list n-label n-value)
- n-scroll))
-