home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / lisp / mcl / 1623 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  911 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!millett@sbctri.sbc.com
  2. From: millett@sbctri.sbc.com
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: handler-case problem?
  5. Message-ID: <9211182018.AA14663@calvin>
  6. Date: 18 Nov 92 20:18:06 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 17
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10.  
  11. So when I enter this form I get this behavior:
  12. ? (handler-case (/ pi 0) (DIVISION-BY-ZERO (x) (print x)))
  13. > Error: While compiling an anonymous function :
  14. >        Error: "Can't divide by zero." 
  15. >        signalled during compile-time evaluation of (/ 3.141592653589793 0) .
  16. > Type Command-. to abort.
  17. See the RestartsI menu item for further choices.
  18. 1 > (local 7)
  19. #<DIVISION-BY-ZERO #x1924C49>
  20. 1 > (type-of (local 7))
  21. DIVISION-BY-ZERO
  22. 1 > 
  23. Aborted
  24.  
  25. Am I doing something wrong or is handler-case used-up?
  26. Thanks.
  27.