XForms: 0.86 API changes

Dick Middleton (dick@sqf.hp.com)
Fri, 13 Jun 1997 08:37:20 +0100

To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> To subscribers of the xforms list from Tristan Savatier <tristan@mpegtv.com> :

> I noticed that the API for fl_show_question() changed
> from (0.81):

> int fl_show_question(const char *s1, const char *s2, const char *s3)
> I must admit that the new API (that allows embedded newlines in
> the message) is much better than the old one, but I am disapointed
> to see that most similar functions still use the old method
> of passing 3 strings, like:
> Why not switch to the new method consistently ?
> (i.e. replace the 3 strings by one, with possible embedded new-lines).

I thought this when I read the manual but when I came to use the functions I
found the API rather nice. It saves building strings in the app. Take for
example an error message. This breaks down nicely into three bits: what
action was attempted, what went wrong and why as in "Error creating
schema/Could not open file xxx/permission denied". Since these messages tend
to come from different sources they fit nicely into the API.




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