XForms: problem with fl_get_input solved :)

Scott (sbarron@n-link.com)
Sun, 12 Oct 1997 22:56:38 -0500 (CDT)

To subscribers of the xforms list from Scott <sbarron@n-link.com> :

On 12-Oct-97 Steve Lamont wrote:
->First of all, you aren't assigning anything to the structure member
->and second, you should be duping the character array since it will
->otherwise be clobbered the next time you call fl_get_input() (or
->perhaps sooner, since I'm not sure how that buffer is internally
->managed by XForms. In any case you should certainly not treat it as
->an immutable area).
->
-> spl

I have found the error in my code and it all works fine now. I greatly
appreciate all the help. One other question I have regards program structure.
I have about 10 different input fields in my application. I presently also
have a call back for each one of them. This, to me, seems a bit excessive to
have 10 callbacks being a few lines of code each. Is there a more efficient
way of doing this? Is it possible to use the same call back for the different
fields that pass data to the same structure? Please excuse my lack of C
knowlege but the help you are giving is also helping me learn C as well as
XForms. Also I read a few messages in the list archive about a win95 or NT
port? What is the latest word on that? I am the only *NIX user in my circle
of human interaction and I have to use windows at work. I think a port would
be great.

Thanks to all,

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