XForms: fl_add_timeout

controltech (joel@bamboo.verinet.com)
Mon, 2 Nov 1998 13:28:21 -0700 (MST)

# To subscribers of the xforms list from controltech <joel@bamboo.verinet.com> :

I have a program that uses fl_add_timeout. The question I have is two fold.
First, the function I am calling at timeout has some parameters that need
to be passed to it, I'm not sure how to do this. Using ,

fl_add_timeout(time, myfunc(param1, param2),NULL);

doesn't work.

The second question I have is how to do the same thing using an array of
pointers to functions. I have something like

int (*myfuncs[8])();

....

myfuncs[1] = somefunction();

How do I use fl_add_timeout with myfuncs[1], and again, I need to pass
parameters.

I understand pointers, but have not used pointers to funtions before.

Thanks
Joel

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