Re: XForms: duoble initialize

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 5 Sep 97 06:43:57 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Did any of you know, how get the information if fl_initialize was called
> before???

There's not specific call to determine this as far as I'm aware but
you can query whether there's a Display connection with

if ( !fl_get_display() )
fl_initialize( ... );

A better solution, however, is to simply code so that you don't have
to resort to this kluge. Just make the fl_initialize() call one of
the first things you do in main() and proceed from there.

Why do you feel that you have to do this?

spl
_________________________________________________
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/