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/