Re: XForms: Input Field

Steve Leong (sleong@pcmagic.net)
Sun, 05 Apr 1998 21:55:38 -0700

# To subscribers of the xforms list from Steve Leong <sleong@pcmagic.net> :

When you get a string from fl_get_input try

int i;
double d;

i = atoi(string);
d = atof(string);

Choy Mei Yee 95604422 wrote:

> # To subscribers of the xforms list from Choy Mei Yee 95604422 <mychoy@mae.cuhk.edu.hk> :
>
> Dear all,
> I have a question about getting the input numbers form users.
> When I set the input field to "FL_INT_INPUT" or "FL_FLOAT_INPUT", how could I
> get the input numbers back?
> "fl_get_input"seems not work. It only gets char of string input.
> Thanks for any suggestion.
>
> mychoy
> ------------------------------
> E-mail: mychoy@mae.cuhk.edu.hk
> _________________________________________________
> 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/

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