XForms: fl_load_browser problem.

Amit Bhatnagar (amit@eduplus.ca)
Mon, 17 Aug 1998 21:57:32 +0000

# To subscribers of the xforms list from Amit Bhatnagar <amit@eduplus.ca> :

How come fl_load_browser (obj, "/navtech/nav/data/scenario/METAR50");
<-- and actual file

works okay.. but doing this

char path_and_filename [ 1024], filename [1024];

strcpy (filename, fl_get_browser_line (browser, line_number));
sprintf (path_and_filename, "/navtech/nav/data/%s", filename);
fl_load_browser (obj, path_and_filename);

doesn't work?

filename and path_and_filename contain exactly what i want.. (verified
by printing those to a file..)
I need to do this because the filename will change.. but th epath will
not.. and the filename is what the user
selectes out of another browser.

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