Re: XForms: how does fl_show_question() do it ?

Paul Barton-Davis (pbd@Op.Net)
Tue, 07 Jul 1998 21:26:10 -0300

# To subscribers of the xforms list from Paul Barton-Davis <pbd@Op.Net> :

>I've written some fairly
>complicated applications, including some multi-threaded ones, and
>have almost never had the need to resort to setjmp/longjmp.

The key insight seems to be not to use callbacks in such cases. I
ended up using setjmp/longjmp because there was no other way to
"return" to the correct level from the callback. However, as you have
demonstrated, avoiding the callback and just allowing fl_do_forms() to
return works fine. I've always use callbacks in every other area of
XForms programming, so I was thrown off track by this. Thanks very
much. XForms is such a classy piece of work.

--p
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/