unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Newbie question:  bind a variable on the fly
@ 2006-06-10 10:25 Vincent De Groote
  2006-06-10 13:08 ` Marius Vollmer
  2006-06-11 17:42 ` Jon Wilson
  0 siblings, 2 replies; 6+ messages in thread
From: Vincent De Groote @ 2006-06-10 10:25 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Newbie question:  bind a variable on the fly
@ 2006-06-10 10:23 Vincent De Groote
  0 siblings, 0 replies; 6+ messages in thread
From: Vincent De Groote @ 2006-06-10 10:23 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-13 18:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-10 10:25 Newbie question: bind a variable on the fly Vincent De Groote
2006-06-10 13:08 ` Marius Vollmer
2006-06-11 17:42 ` Jon Wilson
2006-06-12 22:17   ` Neil Jerram
2006-06-13 18:26     ` Jonathan Wilson
  -- strict thread matches above, loose matches on Subject: below --
2006-06-10 10:23 Vincent De Groote

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).