Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.LISP
exception handling
From
Jens Kallup
@21:1/5 to
All
on Sat Dec 9 15:04:55 2023
Hello,
I dont understand exception handling in SBCL Common Lisp,
How can I define one or more exceptions, and doing actions
during one exception is raise.
I found examples in the Internet, but they give only demo,
not practise using.
I would do this pseudo-code thing:
(handle-exception (
(progn (write-line "hello")
(write-line (/ 3 0)))
(handle-exception-occurence
division-zero (write-line "error 1" )
file-not-found (write-line "error 2 )))
Is that possible in SBCL ?
Jens
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
From
Jens Kallup
@21:1/5 to
All
on Sat Dec 9 16:45:18 2023
Hello,
I found informations on:
https://gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html
Jens
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Rixter
Tue Sep 15 12:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Tue Sep 15 11:25:46 2026
from
Wales, Uk
via
Telnet
Andrew Andrew
Tue Sep 15 02:46:28 2026
from
Chicago, Il
via
Telnet
Netmages
Tue Sep 15 01:13:15 2026
from
Santiago, Chile
via
SSH
Rixter
Tue Sep 15 00:01:34 2026
from
Madison, Nc
via
Telnet
Rixter
Mon Sep 14 12:01:34 2026
from
Madison, Nc
via
Telnet
Bob Worm
Mon Sep 14 08:34:31 2026
from
Wales, Uk
via
Telnet
Retrojimmyx
Mon Sep 14 00:27:04 2026
from
Derbyshire
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
765
Nodes:
16 (
1
/
15
)
Uptime:
01:07:36
Calls:
12,761
Calls today:
5
Files:
15,362
Messages:
6,556,994