>
> The problem is that there is errors in documentation. In the HTML documen=
> tation
> online for v0.86, the prototype for a function is:
>
> int fl_show_choice(const char *message, int numb,
> const char *b1,const char *b2,const char *b3, int def)
>
> but in the forms.h header (and it is the one for v0.86, I double checked)=
> :
>
> extern int fl_show_choices(const char *, int,
> const char *, const char *, const char *, int)=
> ;
>
> extern int fl_show_choice(const char *, const char *, const char *, int,
> const char *, const char *, const char *, int);
>
It is a documentation problem. In the XForms distribution, the Changes file
references the change:
fl_show_choice(str1, str2, str3, numb, lab1, lab2, lab3)
changed to
fl_show_choice(str1, str2, str3, numb, lab1, lab2, lab3, default)
The header file is usually correct or otherwise, any program that uses the
questionable prototype will not compile properly :)
I will make the change to the online manual.
Thanks,
Danny Uy
dau@westworld.com
_________________________________________________
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/xforms-archive/