From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent De Groote Newsgroups: gmane.lisp.guile.user Subject: Newbie question: bind a variable on the fly Date: Sat, 10 Jun 2006 11:23:45 +0100 Message-ID: <1149935025.4753.8.camel@encelade-dev3> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150219974 23214 80.91.229.2 (13 Jun 2006 17:32:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2006 17:32:54 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jun 13 19:32:51 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FqCks-00070E-Dq for guile-user@m.gmane.org; Tue, 13 Jun 2006 19:32:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FqCkr-0002Ti-Ue for guile-user@m.gmane.org; Tue, 13 Jun 2006 13:32:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fp0dG-0007R6-Pj for guile-user@gnu.org; Sat, 10 Jun 2006 06:23:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fp0dF-0007Qu-Cf for guile-user@gnu.org; Sat, 10 Jun 2006 06:23:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fp0dF-0007Qr-7P for guile-user@gnu.org; Sat, 10 Jun 2006 06:23:53 -0400 Original-Received: from [195.238.4.87] (helo=outmx015.isp.belgacom.be) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fp0lU-0006sg-IJ for guile-user@gnu.org; Sat, 10 Jun 2006 06:32:24 -0400 Original-Received: from outmx015.isp.belgacom.be (localhost [127.0.0.1]) by outmx015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id k5AANlGF028298 for ; Sat, 10 Jun 2006 12:23:47 +0200 (envelope-from ) Original-Received: from [192.168.1.2] (147.11-136-217.adsl.skynet.be [217.136.11.147]) by outmx015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id k5AANjKf028284 for ; Sat, 10 Jun 2006 12:23:45 +0200 (envelope-from ) Original-To: guile-user@gnu.org X-Mailer: Evolution 2.0.4 (2.0.4-6) X-Mailman-Approved-At: Tue, 13 Jun 2006 13:32:37 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5356 Archived-At: Hello, Is there a way to catch an "unbound-variable" exception, bind the variable on the fly, and continue execution as if the exception didn't occurs ? I'd like to catch this exception in a c function: the exception context should be available, to retrieve the variable or function name. This handler will lookup the value in a relational database. Is this possible ? Thanks for you replies Vincent De Groote _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user